On Tue, Feb 17, 2009 at 5:48 PM, Srinivas G. <srinivasg@xxxxxxxxxxxxxxxxxxxxx> 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 majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html