Deutsch English Français Italiano |
<vivlum$2his5$3@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> Newsgroups: comp.lang.c Subject: Re: best approach for multithreading (?) Date: Fri, 6 Dec 2024 12:14:14 -0800 Organization: A noiseless patient Spider Lines: 19 Message-ID: <vivlum$2his5$3@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> <vitfc3$1so4u$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 06 Dec 2024 21:14:14 +0100 (CET) Injection-Info: dont-email.me; posting-host="60cc1b43a0c5f0f5562bde95bed4a8a0"; logging-data="2673541"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/P7Va5xHgxLkmBMhbHQV5nau1nIS5ya3E=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:XznfwexinHjxppwc6mEBBt66msc= In-Reply-To: <vitfc3$1so4u$1@dont-email.me> Content-Language: en-US Bytes: 2000 On 12/5/2024 4:09 PM, James Kuyper wrote: > 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. > Actually that reminds me of an older little "thing" I did when I had nothing to do: https://groups.google.com/g/comp.lang.c/c/WPH7ed5uS4Y ;^)