OLD | NEW |
1 /* | 1 /* |
2 ** 2002 January 15 | 2 ** 2002 January 15 |
3 ** | 3 ** |
4 ** The author disclaims copyright to this source code. In place of | 4 ** The author disclaims copyright to this source code. In place of |
5 ** a legal notice, here is a blessing: | 5 ** a legal notice, here is a blessing: |
6 ** | 6 ** |
7 ** May you do good and not evil. | 7 ** May you do good and not evil. |
8 ** May you find forgiveness for yourself and forgive others. | 8 ** May you find forgiveness for yourself and forgive others. |
9 ** May you share freely, never taking more than you give. | 9 ** May you share freely, never taking more than you give. |
10 ** | 10 ** |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 pthread_cond_wait(&sig, &lock); | 280 pthread_cond_wait(&sig, &lock); |
281 } | 281 } |
282 pthread_mutex_unlock(&lock); | 282 pthread_mutex_unlock(&lock); |
283 for(i=0; i<n; i++){ | 283 for(i=0; i<n; i++){ |
284 char zBuf[200]; | 284 char zBuf[200]; |
285 sprintf(zBuf, "testdb-%d", (i+1)/2); | 285 sprintf(zBuf, "testdb-%d", (i+1)/2); |
286 unlink(zBuf); | 286 unlink(zBuf); |
287 } | 287 } |
288 return 0; | 288 return 0; |
289 } | 289 } |
OLD | NEW |