Comment out rwlock testing function
svn: r18799
This commit is contained in:
parent
bfbeb104be
commit
f6a8e78cd6
|
@ -334,6 +334,8 @@ struct mzrt_rwlock {
|
||||||
|
|
||||||
static mzrt_rwlock *locks[2];
|
static mzrt_rwlock *locks[2];
|
||||||
|
|
||||||
|
/* tests for rwlock implementation */
|
||||||
|
#if 0
|
||||||
static void *go(void *id)
|
static void *go(void *id)
|
||||||
{
|
{
|
||||||
int i = *(int *)id, j, amt;
|
int i = *(int *)id, j, amt;
|
||||||
|
@ -357,6 +359,7 @@ static void *go(void *id)
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
int mzrt_rwlock_create(mzrt_rwlock **lock) {
|
int mzrt_rwlock_create(mzrt_rwlock **lock) {
|
||||||
int err;
|
int err;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user