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.
_______________________________________________
http://ocw.cs.pub.ro/courses/so/info/lista-discutii

Raspunde prin e-mail lui