[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Timeouts for SharedQueue and Semaphore

From: Stephen
Subject: Re: [Help-smalltalk] Timeouts for SharedQueue and Semaphore
Date: Thu, 11 Nov 2010 14:40:45 +1300
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv: Gecko/20101027 Thunderbird/3.1.6

Thanks - this is great for server side. For example the LDAP Library I ported from Squeak used timed wait on semaphore, in the worker thread. I can put that back in now.

(Delay forSeconds: 1) timedWaitOn: sema

will wait on a semaphore for 1 second, and return true if the timeout
occurred, false if the semaphore was grabbed.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]