The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com



High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
problem with signal() narendra.pant High Level Programming 10 11-16-2007 01:06 AM
Signal Problem jacques83 High Level Programming 5 11-17-2006 12:30 AM
I have a problem using signal SIGUSR2 khan_069 UNIX for Advanced & Expert Users 3 03-23-2006 06:35 PM
Having problem with FreeBSD 5.3 GarbageKing BSD 4 02-15-2005 09:07 AM
FreeBSD problem Mincuslcd UNIX for Dummies Questions & Answers 1 04-12-2004 10:22 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 11-08-2003
Namely Namely is offline
Registered User
  
 

Join Date: Oct 2003
Posts: 4
[Problem] raise a signal in FreeBSD

I am trying to send a SIGUSR1 to a set of process. Please tell
me how to do. I've tried the system call raise(int sig) but it just
raise a signal of to the 'current process.'

My program is about a network chat server. When a client
connects in, The main process will fork a new process to handle
the client. Now the problem comes, assume I'm in some client
process now, and I want to send a signal that all the other client
processes can get it.

If I use rasie(), only the current client process will get it.

Is there any way that I can do?

Thanks for help
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:49 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0