Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <vj0ln4$2se98$1@dont-email.me>
Deutsch   English   Français   Italiano  
<vj0ln4$2se98$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: Sat, 7 Dec 2024 00:16:20 -0500
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <vj0ln4$2se98$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>
 <vitfc3$1so4u$1@dont-email.me> <20241205191339.256@kylheku.com>
 <3mF4P.64$pAh5.41@fx06.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 07 Dec 2024 06:16:21 +0100 (CET)
Injection-Info: dont-email.me; posting-host="2372e7471a0b1436bcb2b3006137cd15";
	logging-data="3029288"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/3/2h5jCqA+QD+fxW6M4f0mi5X6OkH2jI="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:QN150fItc3gBvYA6zzE5VAKdpRM=
Content-Language: en-US
In-Reply-To: <3mF4P.64$pAh5.41@fx06.iad>
Bytes: 2237

On 12/6/24 11:10, Scott Lurndal wrote:
> Kaz Kylheku <643-408-1753@kylheku.com> writes:
>> On 2024-12-06, James Kuyper <jameskuyper@alumni.caltech.edu> wrote:
....
>>> 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.
>>
>> Generally speaking, you can have a function called pthread_create on
>> non-POSIX systems, and a header <pthread.h>.
>
> There are certain requirements of a posix threads implementation that
> might be impossible for a non-POSIX system to implement efficiently;
> windows, for example, doesn't support signals.

My words above not-withstanding, I am not in any sense an expert on any
kind of threading, nor of Windows. What does POSIX require of threads
with regards to signals?