comparison dw.h @ 1171:13d046d301f7

Added missing dw_mutex_trylock() prototype to header file.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sat, 17 Sep 2011 19:47:04 +0000
parents 4e8f00c31c91
children cef7400dcaba
comparison
equal deleted inserted replaced
1170:4b94c9f5ddeb 1171:13d046d301f7
1621 void API dw_window_function(HWND handle, void *function, void *data); 1621 void API dw_window_function(HWND handle, void *function, void *data);
1622 HWND API dw_window_from_id(HWND handle, int id); 1622 HWND API dw_window_from_id(HWND handle, int id);
1623 HMTX API dw_mutex_new(void); 1623 HMTX API dw_mutex_new(void);
1624 void API dw_mutex_close(HMTX mutex); 1624 void API dw_mutex_close(HMTX mutex);
1625 void API dw_mutex_lock(HMTX mutex); 1625 void API dw_mutex_lock(HMTX mutex);
1626 int API dw_mutex_trylock(HMTX mutex);
1626 void API dw_mutex_unlock(HMTX mutex); 1627 void API dw_mutex_unlock(HMTX mutex);
1627 HEV API dw_event_new(void); 1628 HEV API dw_event_new(void);
1628 int API dw_event_reset(HEV eve); 1629 int API dw_event_reset(HEV eve);
1629 int API dw_event_post(HEV eve); 1630 int API dw_event_post(HEV eve);
1630 int API dw_event_wait(HEV eve, unsigned long timeout); 1631 int API dw_event_wait(HEV eve, unsigned long timeout);