[so] [tema 3] tid_t

Catalin Alexandru so@cursuri.cs.pub.ro
Sun, 5 Dec 2004 15:33:09 +0200


Am vrut sa zic OpenThread, nu OpenHandle :)

> -----Original Message-----
> From: so-admin@cursuri.cs.pub.ro 
> [mailto:so-admin@cursuri.cs.pub.ro] On Behalf Of Catalin Alexandru
> Sent: 5 decembrie 2004 15:28
> To: so@cursuri.cs.pub.ro
> Subject: RE: [so] [tema 3] tid_t
> 
> Poti sa dai OpenHandle cu id-ul intors de 
> GetCurrentThreadId() sau DuplicateHandle cu handle-ul intors 
> de GetCurrentThread().
> 
> Catalin
> 
> > -----Original Message-----
> > From: so-admin@cursuri.cs.pub.ro
> > [mailto:so-admin@cursuri.cs.pub.ro] On Behalf Of George 
> Adrian Drumea
> > Sent: 5 decembrie 2004 15:24
> > To: so@cursuri.cs.pub.ro
> > Subject: [so] [tema 3] tid_t
> > 
> > Asa cum este definit tid_t in test3.h, el este un handle. 
> > Daca folosim functia GetCurrentThread() aceasta intoarce 
> mereu acelasi 
> > pseudo-handle. Probabil ca ar fi mai bine daca s-ar folosi id-ul 
> > threadului (DWORD) decat handle-ul lui.
> > 
> > --
> > Best regards,
> >  George                          mailto:georgedrumea@rdslink.ro
> > 
> > _______________________________________________
> > so mailing list
> > so@cursuri.cs.pub.ro
> > http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so
> 
> _______________________________________________
> so mailing list
> so@cursuri.cs.pub.ro
> http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so