summaryrefslogtreecommitdiffstats
path: root/perl_checker.src/test
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-06-15 08:20:08 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-06-15 08:20:08 +0000
commitb461d1c5e46fd08b315b4f495c7d08fb2e520a12 (patch)
tree4e66d193f251fab4ed96e279c8f01ae7df9c22a5 /perl_checker.src/test
parent9f8193d6e8371b52226ddcbf3633fca1926a512e (diff)
downloadperl-MDK-Common-b461d1c5e46fd08b315b4f495c7d08fb2e520a12.tar
perl-MDK-Common-b461d1c5e46fd08b315b4f495c7d08fb2e520a12.tar.gz
perl-MDK-Common-b461d1c5e46fd08b315b4f495c7d08fb2e520a12.tar.bz2
perl-MDK-Common-b461d1c5e46fd08b315b4f495c7d08fb2e520a12.tar.xz
perl-MDK-Common-b461d1c5e46fd08b315b4f495c7d08fb2e520a12.zip
add a fake packdrake.pm
Diffstat (limited to 'perl_checker.src/test')
0 files changed, 0 insertions, 0 deletions
an> /* will never return EINVAL ! */ int pthread_mutex_trylock(pthread_mutex_t *mutex) { _pthread_descr this; __THREAD_INIT(); this = __thread_self(); if (this!=mutex->owner) { /* wait for mutex to free */ if (__pthread_trylock(&(mutex->lock))) { return EBUSY; } mutex->owner=this; } else if (mutex->kind==PTHREAD_MUTEX_ERRORCHECK_NP) { return EDEADLK; } if (mutex->kind==PTHREAD_MUTEX_RECURSIVE_NP) ++(mutex->count); return 0; }