|   |  | 
| Thread locks too soon | 
| amarillion Member #940 January 2001  | I wanted to reply to a thread with zero replies, but it was locked. Could it be that threads are locked too quickly? Maybe it was a useful feature when allegro.cc was very active, but nowadays the pace is slower, and thread locking sometimes makes it impossible to reply. -- | 
| Karadoc ~~ Member #2,749 September 2002  | I also I think they are locked too quickly. ----------- | 
| GullRaDriel Member #3,861 September 2003  | I second. Edit: or third. "Code is like shit - it only smells if it is not yours" | 
| Chris Katko Member #1,881 January 2002  | It's like you said, the post density here is much much smaller than it used to be and the time limit should be extended (or eliminated). There are so few people here now, we don't really have to worry about the problems that stem from re-sending old posts to the top. I hope one day things get more popular again. I miss helping new people! Lots of us do--it shows whenever someone new has a question we all jump in as fast as we can. -----sig: | 
| Matthew Leverton Supreme Loser January 1999  | (Waiting for thread to lock, so I don't have to reply.) | 
| Mark Oates Member #1,146 March 2001  | Matthew Leverton said: (Waiting for thread to lock, so I don't have to reply.) Wish I could "like" that. -- | 
| jmasterx Member #11,410 October 2009 | If your thread locks too soon, double check your mutex. Agui GUI API -> https://github.com/jmasterx/Agui  | 
| Bob Keane Member #7,342 June 2006 | JMasterx said: If your thread locks too soon, double check your mutex. Try thinking of old baseball scores. I think threads should be unlocked if new information is found. By reading this sig, I, the reader, agree to render my soul to Bob Keane. I, the reader, understand this is a legally binding contract and freely render my soul. | 
| Felix-The-Ghost Member #9,729 April 2008  | 
| LennyLen Member #5,313 December 2004  | Felix-The-Ghost said: This was more clever than it was appreciated for Some of us appreciate silently. 
 | 
| GullRaDriel Member #3,861 September 2003  | I'm gonna sem_post a message to allow the thread to run for some more time. "Code is like shit - it only smells if it is not yours" | 
| Chris Katko Member #1,881 January 2002  | I was going to say that if I -----sig: | 
| amarillion Member #940 January 2001  | This calls for a lock-free implementation. -- | 
| Chris Katko Member #1,881 January 2002  | 'm trying to post and it gets locked, I'm going to be sad. -----sig: | 
| MiquelFire Member #3,110 January 2003  | Yea... this place not be active enough to have the auto lock so quick. --- | 
| jmasterx Member #11,410 October 2009 | thread.notify(); Agui GUI API -> https://github.com/jmasterx/Agui  | 
| Chris Katko Member #1,881 January 2002  | I'm saddened that nobody noticed my joke. -----sig: | 
| bamccaig Member #7,536 July 2006  | I didn't understand it at first.  --  acc.js | al4anim - Allegro 4 Animation library | Allegro 5 VS/NuGet Guide | Allegro.cc Mockup | Allegro.cc <code> Tag | Allegro 4 Timer Example (w/ Semaphores) | Allegro 5 "Winpkg" (MSVC readme) | Bambot | Blog | C++ STL Container Flowchart | Castopulence Software | Check Return Values | Derail? | Is This A Discussion? Flow Chart | Filesystem Hierarchy Standard | Clean Code Talks - Global State and Singletons | How To Use Header Files | GNU/Linux (Debian, Fedora, Gentoo) | rot (rot13, rot47, rotN) | Streaming | 
| Chris Katko Member #1,881 January 2002  | My post didn't have a mutex lock, so it ended up split in half by another process.  -----sig: | 
| Bruce Perry Member #270 April 2000 | This thread is awesome. I want to save it for all posterity, but first I need to take a dump. -- | 
| Mark Oates Member #1,146 March 2001  | Ash. Makes more sense with the second post.  -- | 
| jmasterx Member #11,410 October 2009 | {"name":"2322372.jpg","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/7\/4\/74f174c232cad8894058b92061f84b55.jpg","w":500,"h":323,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/7\/4\/74f174c232cad8894058b92061f84b55"} Runnable task1 = new Runnable(){ @Override public void run(){ System.out.println("If your thread locks too soon, double check your mutex."); } }; Thread thread1 = new Thread(task1); thread1.start(); 
 Agui GUI API -> https://github.com/jmasterx/Agui  | 
| Elias Member #358 May 2000 | new Thread(() -> { System.out.println("Java added lambdas now you know..."); }).start(); 
 -- | 
| Mark Oates Member #1,146 March 2001  | lambdas are so in right now. 
 -- | 
| Bob Keane Member #7,342 June 2006 | Mark Oates said: lambdas are so in right now. 
{"name":"609793","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/5\/1\/51f8bb92021b66380d4639cd77a19a85.jpg","w":1024,"h":576,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/5\/1\/51f8bb92021b66380d4639cd77a19a85"} By reading this sig, I, the reader, agree to render my soul to Bob Keane. I, the reader, understand this is a legally binding contract and freely render my soul. | 
|  |  |