C language - signals and events

Hi, I have a problem.

I start function A, execute some commands and than i need to stop this function while some event occurs. But this event will occur in function B.

When this event occur in function B, signal will be sent to function A which will be waiting for this to continue at work.

Also function B will send a string to function A.

I am new to this forum and also i am not very skilled programmer so if you could help me, show me some examples/tutorials how to do this, it will help me a lot.

thanks
closed account (zb0S216C)
If you're using GNU's compiler, then I recommend that you read this: http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_21.html

If you're using Visual C++, then I recommend that you read this: http://msdn.microsoft.com/en-us/library/xdkz3x12(v=vs.71).aspx

Wazzak
Last edited on
thanks for link, it was helpful
Topic archived. No new replies allowed.