[q-lang-cvs] q ChangeLog,1.330,1.331
Brought to you by:
agraef
From: Albert G. <ag...@us...> - 2008-02-22 11:34:07
|
Update of /cvsroot/q-lang/q In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12922 Modified Files: ChangeLog Log Message: update ChangeLog Index: ChangeLog =================================================================== RCS file: /cvsroot/q-lang/q/ChangeLog,v retrieving revision 1.330 retrieving revision 1.331 diff -C2 -d -r1.330 -r1.331 *** ChangeLog 21 Feb 2008 08:25:16 -0000 1.330 --- ChangeLog 22 Feb 2008 11:34:00 -0000 1.331 *************** *** 1,2 **** --- 1,21 ---- + 2008-02-22 Albert Graef <Dr....@t-...> + + * modules/clib/clib.c: bugfix: timeout for await is specified in + seconds, not milliseconds + + new: allow timeouts to be specified with try function on mutexes + and semaphores + + This allows mutexes and semaphores to be locked/read with an + absolute timeout value, using try (MUTEX,TIME) or try (SEM,TIME) + instead of just try MUTEX or try SEM. This works analogously to + await (COND,TIME) which has always been available. + + NOTE: The new try timeout functionality is only available on newer + systems which already have the pthread_mutex_timedlock and + sem_timedwait routines in the POSIX threads library. Otherwise the + timeout value will just be ignored, i.e., the routines will return + immediately (as if no timeout value was specified). + 2008-02-21 Albert Graef <Dr....@t-...> |