Salve,
è possibile che un codice del tipo
int idthread = pthread_self();
printf("sono il thread %i\n", idthread);
mi restituisca
sono il thread -1219126384
cioè è normale un valore negativo???
Salve,
è possibile che un codice del tipo
int idthread = pthread_self();
printf("sono il thread %i\n", idthread);
mi restituisca
sono il thread -1219126384
cioè è normale un valore negativo???