… | |
… | |
486 | |
486 | |
487 | if (!wrk) |
487 | if (!wrk) |
488 | croak ("unable to allocate worker thread data"); |
488 | croak ("unable to allocate worker thread data"); |
489 | |
489 | |
490 | X_LOCK (wrklock); |
490 | X_LOCK (wrklock); |
491 | if (thread_create (&wrk->tid, bdb_proc, (void *)wrk)) |
491 | if (xthread_create (&wrk->tid, bdb_proc, (void *)wrk)) |
492 | { |
492 | { |
493 | wrk->prev = &wrk_first; |
493 | wrk->prev = &wrk_first; |
494 | wrk->next = wrk_first.next; |
494 | wrk->next = wrk_first.next; |
495 | wrk_first.next->prev = wrk; |
495 | wrk_first.next->prev = wrk; |
496 | wrk_first.next = wrk; |
496 | wrk_first.next = wrk; |
… | |
… | |
1311 | const_iv (KEYEMPTY) |
1311 | const_iv (KEYEMPTY) |
1312 | const_iv (KEYEXIST) |
1312 | const_iv (KEYEXIST) |
1313 | const_iv (LOCK_DEADLOCK) |
1313 | const_iv (LOCK_DEADLOCK) |
1314 | const_iv (LOCK_NOTGRANTED) |
1314 | const_iv (LOCK_NOTGRANTED) |
1315 | const_iv (NOSERVER) |
1315 | const_iv (NOSERVER) |
|
|
1316 | #if DBVER < 502 |
1316 | const_iv (NOSERVER_HOME) |
1317 | const_iv (NOSERVER_HOME) |
1317 | const_iv (NOSERVER_ID) |
1318 | const_iv (NOSERVER_ID) |
|
|
1319 | #endif |
1318 | const_iv (NOTFOUND) |
1320 | const_iv (NOTFOUND) |
1319 | const_iv (PAGE_NOTFOUND) |
1321 | const_iv (PAGE_NOTFOUND) |
1320 | const_iv (REP_DUPMASTER) |
1322 | const_iv (REP_DUPMASTER) |
1321 | const_iv (REP_HANDLE_DEAD) |
1323 | const_iv (REP_HANDLE_DEAD) |
1322 | const_iv (REP_HOLDELECTION) |
1324 | const_iv (REP_HOLDELECTION) |