[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Incorrect declarations of thread functions on w32

From: Jason Rumney
Subject: Re: Incorrect declarations of thread functions on w32
Date: Mon, 27 Nov 2006 09:38:45 +0000
User-agent: Thunderbird (Windows/20061025)

Lennart Borgman wrote:
I thought I had given enough information when saying this. In the message before I told how the declaration should look according to MS. w32_msg_worker should have a declaration that looks like

  LPVOID lpParameter

where ThreadProc should be replaced with w32_msg_worker. The same for reader_thread.
reader thread already has that signature.

Perhaps the declarations boils down to correct declarations under some circumstances , but I believe they should be changed since errors that bad declarations produce might be very hard to find. (Memory corruption etc.)

In the case of reader_thread, it is the correct declaration in all circumstances under Win32 (not under Win16, but Emacs does not target that platform)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]