[fpc-pascal] What about signals.pp on win32?

Tiziano De Togni tizzziano at tiscali.it
Mon Jan 14 10:38:17 CET 2008


Michael Van Canneyt ha scritto:
> 
> On Mon, 14 Jan 2008, Tiziano De Togni wrote:
> 
>> I was trying to convert a C source to Pascal. It uses signals, and I thought
>> that these things were not available on Win platforms.
>>
>> Documentation talks about signals in oldlinux and baseunix units only (Linux).
>>
>> Then I went on the signals.pp unit in:
>>
>> C:\fpc\...\source\rtl\win32\signals.pp
>>
>>
>> I understand the function signal, but I don't see a way to "Raise" a signal.
> 
> There isn't a proper way; 
> Signals on windows have totally different semantics than on Linux/unix.
> You should not try to imitate them.

I agree, so I removed all signal related code from the C source and in 
win32 I used other things.

But then, what is signals.pp meant for?

tiziano



More information about the fpc-pascal mailing list