Changeset 6355
- Timestamp:
- 11/18/08 18:07:45 (2 months ago)
- Files:
-
- trunk/libwired/test/tests/wi-fsevents-tests.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/libwired/test/tests/wi-fsevents-tests.c
r6146 r6355 85 85 wi_release(wi_test_fsevents_lock); 86 86 wi_release(wi_test_fsevents_fsevents); 87 wi_release(wi_test_fsevents_path); 87 88 #endif 88 89 } … … 93 94 94 95 static void wi_test_fsevents_thread(wi_runtime_instance_t *instance) { 96 wi_pool_t *pool; 97 98 pool = wi_string_init(wi_string_alloc()); 99 95 100 if(!wi_fsevents_run_with_timeout(wi_test_fsevents_fsevents, 1.0)) 96 WI_TEST_FAIL("%m");101 wi_log_warn(WI_STR("wi_fsevents_run_with_timeout: %m")); 97 102 98 103 wi_condition_lock_lock(wi_test_fsevents_lock); 99 104 wi_condition_lock_unlock_with_condition(wi_test_fsevents_lock, 1); 105 106 wi_release(pool); 100 107 } 101 108 … … 105 112 wi_condition_lock_lock(wi_test_fsevents_lock); 106 113 wi_test_fsevents_path = wi_retain(path); 107 wi_condition_lock_unlock _with_condition(wi_test_fsevents_lock, 1);114 wi_condition_lock_unlock(wi_test_fsevents_lock); 108 115 } 109 116
