[so] [Tema4][lin][Test9 - pthread_create: Resource temporarily unavailable]
Alex Teaca
ionutalex.teaca at gmail.com
Mon May 6 22:27:56 EEST 2013
Salutare
Exista timeout pe teste? Local imi trec toate testele, desi ultimul test
dureaza foarte mult.
Mentionez ca testul 9 ori se termina corect(de cele mai multe ori) ori
primesc: [!]"pthread_create: Resource temporarily unavailable".
In schimb pe Vmchecker, imi apar terminate doar 8 teste. Care este cauza,
crapa procesul la ultimul test(posibil din acelasi motiv[!])
sau depaseste un timeout?
Din pthread_create() man page :
"The pthread_create() function shall fail if:
EAGAIN
The system lacked the necessary resources to create another thread, or the
system-imposed limit on the total number of threads in a process
{PTHREAD_THREADS_MAX} would be exceeded.", este posibil ca numarul de
thread-uri sa depaseasca PTHREAD_THREADS_MAX ?
Multumesc, Alex T.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20130506/1d9546ec/attachment.html>
More information about the so
mailing list