comparison 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
comparison
equal deleted inserted replaced
1157:79bd0aff0bc2 1158:f86f556ff29d
183 183
184 dw_mutex_new @300 184 dw_mutex_new @300
185 dw_mutex_close @301 185 dw_mutex_close @301
186 dw_mutex_lock @302 186 dw_mutex_lock @302
187 dw_mutex_unlock @303 187 dw_mutex_unlock @303
188 dw_mutex_trylock @304
188 189
189 dw_event_new @310 190 dw_event_new @310
190 dw_event_reset @311 191 dw_event_reset @311
191 dw_event_post @312 192 dw_event_post @312
192 dw_event_wait @313 193 dw_event_wait @313