At work time, u listen music or not ??

India
November 27, 2006 10:51am CST
At work time, u listen music or not ?? i listen music at work also..
1 person likes this
8 responses
@youless (112561)
• Guangzhou, China
2 Nov 07
I like listening to music, but I can't listen to it when I am working. Because it is not allowed, you know:)
• India
15 Jan 07
actually i listen music every where when i get a chance and i also sing songs in my heart normally everytime . its my best way to reduce tension. thanks for posting this discussion.
• India
26 Dec 06
yes ofcourse, i think thts the best place to listen to music........ wat say ha........ prog. u wanted...... /* DEADLOCK USING SUSPEND,RESUME */ class NewThread implements Runnable { String name; Thread t; boolean suspendFlag; NewThread(String threadname) { name = threadname; t=new Thread(this,name); System.out.println("New thread : "+t); suspendFlag = false; t.start(); } public void run() { try { for(int i=15;i0;i--) { System.out.println(name +":"+i); Thread.sleep(200); synchronized(this) { while(suspendFlag) { wait(); } } } } catch(InterruptedException e) { System.out.println(name +" INTERRUPTED "); } System.out.println(name + "EXITING"); } void mysuspend() { suspendFlag = true; } synchronized void myresume() { suspendFlag = false; notify(); } } class SuspendResume { public static void main(String args[]) { NewThread ob1 = new NewThread("ONE"); NewThread ob2 = new NewThread("TWO"); try { Thread.sleep(1000); ob1.mysuspend(); System.out.println("Suspending thread one"); Thread.sleep(1000); ob1.myresume(); System.out.println("Resuming thread one"); ob2.mysuspend(); System.out.println("Suspending thread two"); Thread.sleep(1000); ob2.myresume(); System.out.println("Resuming thread two"); } catch(InterruptedException e) { System.out.println("Main thread Interrupted "); } try { System.out.println("Waiting for threads to finish."); ob1.t.join(); ob2.t.join(); } catch(InterruptedException e) { System.out.println("Main thread Interrupted "); } System.out.println("Main thread exiting "); } }
@oo7bond (817)
• India
31 Dec 06
thank you for sharing such a cool and great discussion... i love to reply to your discussion keep replying... not
@saeedsid (1119)
• Pakistan
30 Dec 06
nice topic... well I dont listen to music when I am at work cause I consider that it breaks my level of concentration.
• United States
28 Dec 06
i love to
@classact (1394)
• India
7 Dec 06
me listen
@blueman (16509)
• India
27 Nov 06
nopes, i think they disturb my concentration.