"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "locks/beos/thread_cond.c" between
apr-1.6.5.tar.bz2 and apr-1.7.0.tar.bz2

About: APR (Apache Portable Runtime) project offers software libraries that provide a predictable and consistent interface to underlying platform-specific implementations (APR core library).

thread_cond.c  (apr-1.6.5.tar.bz2):thread_cond.c  (apr-1.7.0.tar.bz2)
skipping to change at line 83 skipping to change at line 83
apr_pool_cleanup_register(new_cond->pool, apr_pool_cleanup_register(new_cond->pool,
(void *)new_cond, thread_cond_cleanup, (void *)new_cond, thread_cond_cleanup,
apr_pool_cleanup_null); apr_pool_cleanup_null);
*cond = new_cond; *cond = new_cond;
return APR_SUCCESS; return APR_SUCCESS;
} }
static apr_status_t do_wait(apr_thread_cond_t *cond, apr_thread_mutex_t *mutex, static apr_status_t do_wait(apr_thread_cond_t *cond, apr_thread_mutex_t *mutex,
int timeout) apr_interval_time_t timeout)
{ {
struct waiter_t *wait; struct waiter_t *wait;
thread_id cth = find_thread(NULL); thread_id cth = find_thread(NULL);
apr_status_t rv; apr_status_t rv;
int flags = B_RELATIVE_TIMEOUT; int flags = B_RELATIVE_TIMEOUT;
/* We must be the owner of the mutex or we can't do this... */ /* We must be the owner of the mutex or we can't do this... */
if (mutex->owner != cth) { if (mutex->owner != cth) {
/* What should we return??? */ /* What should we return??? */
return APR_EINVAL; return APR_EINVAL;
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)