"Magnus Hagander" <mha(at)sollentuna(dot)net> writes:
>>> An option would be to SuspendThread() on the main thread, which
>>> freezes it completely durnig the execution of the signal. If
>>> necessary, are we safe against that?
>>
>> Why would that be a problem?
> In a nutshell: If the main thread holds a lock on something we need
> (such as the heap), we just shot ourselves in the foot.
Hmm. Sounds like SuspendThread is not a workable option at all.
regards, tom lane