Question: Given the code snippet below, which what is the purpose of the fourth parameter of the pthread create) functions? int ma 1n () ( 21
Given the code snippet below, which what is the purpose of the fourth parameter of the pthread create) functions? int ma 1n () ( 21 22 23 24 25 26 pthreadt thread!' thread2; /* Comment #1-7 - thdata datal, data2:/ datai.thread no- strepi. (dat a1.ne , , age , "Xe 11a."); 25 29 data?.thread no-2 etrcpy(data2.nessage) pthread create (thread, NULL,voad pthread create (thread2, NULL. (void 32 print-message-function, (voi d *) datai); Comment #2 "/ 35 26 Sprint nessage funetion,(vosddasa2) pthread 3oin(thread2, NULL) 39 ex
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
