Re: WaitForMultipleObjects sources for a C application

Manish Katiyar <[email protected]>
Newsgroups org.kernel.vger.linux-c-programming
Message-ID <[email protected]>
On Tue, Feb 17, 2009 at 5:48 PM, Srinivas G.
<[email protected]> wrote:
> Dear All,
>
> I have downloaded the source code for the WaitForMultipleObjects API to
> use on Linux box from the following link.
> http://home.arcor.de/rdengler/
>
> However, the sources are developed in the C++. I am not able to use
> these sources in my C application due to classes and its definitions.
> When I tried to convert the classes into an equivalent C structures I
> got the following error.
>
> std::set<CWinEventHandle*> m_Subscriber; // Used in
> WaitForMultipleObjects()
>
> Could you please let me know how can I use CPP sources in a C
> application? Is there any equivalent C code for the same
> WaitForMultipleObjects?

Aren't they more or less equivalent to condition variables ?? You can
also have a look at the below link
http://www.ibm.com/developerworks/eserver/library/es-win32linux-sem.html

Thanks -
Manish



>
> Thanks in advance.
>
> With Regards,
> Srinivas G
> --
> To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
> the body of a message to [email protected]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.