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
DWORD WINAPI ThreadProc(
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)