* WaitForMultipleObjects sources for a C application
@ 2009-02-17 12:18 Srinivas G.
2009-02-17 12:51 ` Manish Katiyar
0 siblings, 1 reply; 2+ messages in thread
From: Srinivas G. @ 2009-02-17 12:18 UTC (permalink / raw)
To: linux-c-programming
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?
Thanks in advance.
With Regards,
Srinivas G
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: WaitForMultipleObjects sources for a C application
2009-02-17 12:18 WaitForMultipleObjects sources for a C application Srinivas G.
@ 2009-02-17 12:51 ` Manish Katiyar
0 siblings, 0 replies; 2+ messages in thread
From: Manish Katiyar @ 2009-02-17 12:51 UTC (permalink / raw)
To: Srinivas G.; +Cc: linux-c-programming
On Tue, Feb 17, 2009 at 5:48 PM, Srinivas G.
<srinivasg@esntechnologies.co.in> 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@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-02-17 12:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-17 12:18 WaitForMultipleObjects sources for a C application Srinivas G.
2009-02-17 12:51 ` Manish Katiyar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).