diff dw.def @ 1158:f86f556ff29d

Added dw_mutex_trylock() that functions like dw_mutex_lock() except it does not block if the mutex is already locked, it instead returns DW_MUTEX_TIMEOUT. Allowing threads to continue to do work while waiting to obtain a mutex.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 15 Sep 2011 21:13:59 +0000
parents 091ed7c20b3f
children 53547c9c99a2
line wrap: on
line diff
--- a/dw.def	Thu Sep 15 05:10:07 2011 +0000
+++ b/dw.def	Thu Sep 15 21:13:59 2011 +0000
@@ -185,6 +185,7 @@
   dw_mutex_close                         @301
   dw_mutex_lock                          @302
   dw_mutex_unlock                        @303
+  dw_mutex_trylock                       @304
 
   dw_event_new                           @310
   dw_event_reset                         @311