Deutsch English Français Italiano |
<vitfc3$1so4u$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: James Kuyper <jameskuyper@alumni.caltech.edu> Newsgroups: comp.lang.c Subject: Re: best approach for multithreading (?) Date: Thu, 5 Dec 2024 19:09:39 -0500 Organization: A noiseless patient Spider Lines: 11 Message-ID: <vitfc3$1so4u$1@dont-email.me> References: <ddd3a0b59c95b5752b66f46348c96a6f8279d518@i2pn2.org> <slrnvkousf.2d4d7.candycanearter07@candydeb.host.invalid> <vii0ao$2jdsb$1@dont-email.me> <20241201074928.161@kylheku.com> <viipr8$2qq41$4@dont-email.me> <20241203094647.518@kylheku.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Injection-Date: Fri, 06 Dec 2024 01:09:42 +0100 (CET) Injection-Info: dont-email.me; posting-host="d304acb27fe475dbb5af61d8a6f5965a"; logging-data="1990814"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/LyYRrNNaimQmua71dIKYtjXp5ORmiKCw=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:gJdEaj12aBk7EgZfrkA1sGy1GAo= In-Reply-To: <20241203094647.518@kylheku.com> Content-Language: en-US Bytes: 1682 On 12/3/24 12:48, Kaz Kylheku wrote: .... > Think about it. The POSIX standard includes ISO C by reference. > So that means POSIX has to have two thread libraries. > It's a waste of flash in embedded systems. C <threads.h> can be implemented as a thin wrapper over POSIX threads. The waste is relatively negligible. The differences, were intended to allow <threads.h> to also be implemented on non-POSIX systems as wrappers for whatever the native threading system was.