comparison dww.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
180 180
181 dw_mutex_new @300 181 dw_mutex_new @300
182 dw_mutex_close @301 182 dw_mutex_close @301
183 dw_mutex_lock @302 183 dw_mutex_lock @302
184 dw_mutex_unlock @303 184 dw_mutex_unlock @303
185 dw_mutex_trylock @304
185 186
186 dw_event_new @310 187 dw_event_new @310
187 dw_event_reset @311 188 dw_event_reset @311
188 dw_event_post @312 189 dw_event_post @312
189 dw_event_wait @313 190 dw_event_wait @313