tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pthreads and C11/C17 threads



On 17.04.2019 19:28, Robert Elz wrote:
>     Date:        Wed, 17 Apr 2019 19:02:47 +0200
>     From:        Kamil Rytarowski <n54%gmx.com@localhost>
>     Message-ID:  <dad3e910-e22f-851d-3101-0753b5b0daad%gmx.com@localhost>
> 
> Thanks, and
> 
>   | +typedef pthread_t	  thrd_t;
> 
> is a very clear answer to the question...   Unless anyone
> has any objections to that method, I think we can ignore the
> (possible) posix requirement as being any kind of issue for us.
> 
> kre
> 

In general C11 threads directly map POSIX threads, contrary to an old
rant clickbait blog entry on one site.

FreeBSD and Illumos do the same and there is no reason to implement it
differently.

Attachment: signature.asc
Description: OpenPGP digital signature



Home | Main Index | Thread Index | Old Index