pgsql: Check the return code of pthread_create(). Otherwise we go into
pgsql: Check the return code of pthread_create(). Otherwise we go into
От:
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Дата:
Check the return code of pthread_create(). Otherwise we go into an infinite loop if it fails, which is what what happened on my HP-UX box. (I think the reason it failed on that box is a misconfiguration on my behalf, but that's no reason to hang.) Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/336db7e3474508b46a0e6bdb013a8bee5aac9adf Modified Files -------------- src/test/thread/thread_test.c | 20 ++++++++++++++++++-- 1 files changed, 18 insertions(+), 2 deletions(-)