| 603 | */ |
| 604 | |
| 605 | static unsigned long |
| 606 | pq_threadidcallback(void) |
| 607 | { |
| 608 | /* |
| 609 | * This is not standards-compliant. pthread_self() returns pthread_t, and |
| 610 | * shouldn't be cast to unsigned long, but CRYPTO_set_id_callback requires |
| 611 | * it, so we have to do it. |
| 612 | */ |
| 613 | return (unsigned long) pthread_self(); |
| 614 | } |
| 615 | |
| 616 | static pthread_mutex_t *pq_lockarray; |
| 617 |
nothing calls this directly
no test coverage detected