Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"Indecision is the basis of flexibility" -- button at a Science Fiction convention.


computers / comp.os.vms / Re: OS implementation languages

SubjectAuthor
* Re: OS implementation languagescandycane
`- Re: OS implementation languagesArne Vajhøj

1
Re: OS implementation languages

<3772859147@f172.n1.z21.fsxnet>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=29678&group=comp.os.vms#29678

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!news.bbs.nz!.POSTED.agency.bbs.nz!not-for-mail
From: candyc...@f172.n1.z21.fsxnet (candycane)
Newsgroups: comp.os.vms
Subject: Re: OS implementation languages
Date: Wed, 06 Sep 2023 08:31:56 +1300
Organization: fsxNet Usenet Gateway
Message-ID: <3772859147@f172.n1.z21.fsxnet>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Info: news.bbs.nz; posting-host="8IWYKlztXHa0+IViEdY46zrq8kpk7dC9fTbT74JiSDQ";
logging-data="24480"; mail-complaints-to="abuse@news.bbs.nz"
User-Agent: VSoup v1.2.9.47Beta [95/NT]
X-MailConverter: SoupGate-Win32 v1.05
X-Comment-To: Simon Clubley
 by: candycane - Tue, 5 Sep 2023 19:31 UTC

SC> I also have absolutely no idea what happens with signals if you run
SC> dd under Cygwin on Windows.

I'd guess theres no equivelant.

---------------
user <candycane> is generated from /dev/urandom

.... return ENOMEM;
___ MultiMail/Linux v0.52

Re: OS implementation languages

<udapvl$2lago$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=29691&group=comp.os.vms#29691

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: OS implementation languages
Date: Wed, 6 Sep 2023 17:12:22 -0400
Organization: A noiseless patient Spider
Lines: 40
Message-ID: <udapvl$2lago$1@dont-email.me>
References: <3772859147@f172.n1.z21.fsxnet>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 6 Sep 2023 21:12:21 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="4b9fb26c8d01c055f6af48cacba4ea8d";
logging-data="2796056"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX184mAj8ZsysBg6wxPQy4unbRFCXf7vKeng="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.15.0
Cancel-Lock: sha1:+5RqQOrvF1TAD8/VHbXF550iKws=
In-Reply-To: <3772859147@f172.n1.z21.fsxnet>
Content-Language: en-US
 by: Arne Vajhøj - Wed, 6 Sep 2023 21:12 UTC

On 9/5/2023 3:31 PM, candycane wrote:
> SC> I also have absolutely no idea what happens with signals if you run
> SC> dd under Cygwin on Windows.
>
> I'd guess theres no equivelant.

Cygwin apparently does emulate signals.

https://cygwin.com/cygwin-ug-net/highlights.html

<quote>
Signals

When a Cygwin process starts, the library starts a secondary thread for
use in signal handling. This thread waits for Windows events used to
pass signals to the process. When a process notices it has a signal, it
scans its signal bitmask and handles the signal in the appropriate fashion.

Several complications in the implementation arise from the fact that the
signal handler operates in the same address space as the executing
program. The immediate consequence is that Cygwin system functions are
interruptible unless special care is taken to avoid this. We go to some
lengths to prevent the sig_send function that sends signals from being
interrupted. In the case of a process sending a signal to another
process, we place a mutex around sig_send such that sig_send will not be
interrupted until it has completely finished sending the signal.

In the case of a process sending itself a signal, we use a separate
semaphore/event pair instead of the mutex. sig_send starts by resetting
the event and incrementing the semaphore that flags the signal handler
to process the signal. After the signal is processed, the signal handler
signals the event that it is done. This process keeps intraprocess
signals synchronous, as required by POSIX.

Most standard UNIX signals are provided. Job control works as expected
in shells that support it.
</quote>

Arne

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor