Click here to Skip to main content
15,889,216 members
Home / Discussions / C#
   

C#

 
Generalprocess and network path Pin
imran_rafique7-Dec-02 0:33
imran_rafique7-Dec-02 0:33 
GeneralRe: process and network path Pin
mikasa7-Dec-02 8:16
mikasa7-Dec-02 8:16 
GeneralRe: process and network path Pin
Burt Harris7-Dec-02 9:22
Burt Harris7-Dec-02 9:22 
GeneralDaylight Saving TIme Pin
Bugoy6-Dec-02 20:14
Bugoy6-Dec-02 20:14 
GeneralRe: Daylight Saving TIme Pin
Jon Sagara6-Dec-02 20:22
Jon Sagara6-Dec-02 20:22 
Generalmultithreading Pin
valisekkagari6-Dec-02 9:36
valisekkagari6-Dec-02 9:36 
GeneralRe: multithreading Pin
Burt Harris7-Dec-02 9:46
Burt Harris7-Dec-02 9:46 
GeneralRe: multithreading Pin
valisekkagari12-Dec-02 7:44
valisekkagari12-Dec-02 7:44 
Hi,
Your answer may not suit what iam looking for.Let me explain it.
There is only one client and sever always in my application.Server should be waiting for a connection for this client asynchronously.I mean when client does not connect to server , it should be reading some data base table and doing some calculations e.t.c.
The client now connects to the server and it sends the message which is
basically telling the server that use different database instead of old one since it will be modified.
So at the point where the client connects, the server should stop the processing that it does with the database table.
I thought let one thread handle ..waiting for the client and another thread handle processing database.
When in the first thread ,client contacts the server,iam looking for a way to suspend/stop that thread execution and continue only after client is done talking to server.
basically its like thread1 having capability to suspend thread2 untill its work is done.
is this possible and is there any way to to this.

anyw help will be greatky appreciated.

srinivas
GeneralWindows Services Pin
Nic Oughton6-Dec-02 5:44
professionalNic Oughton6-Dec-02 5:44 
GeneralRe: Windows Services Pin
Burt Harris7-Dec-02 9:26
Burt Harris7-Dec-02 9:26 
GeneralRe: Windows Services Pin
Nic Oughton8-Dec-02 23:04
professionalNic Oughton8-Dec-02 23:04 
GeneralRe: Windows Services Pin
Ragavendran Vaidhyanadhan7-Dec-02 22:40
Ragavendran Vaidhyanadhan7-Dec-02 22:40 
GeneralRe: Windows Services Pin
Nic Oughton8-Dec-02 23:02
professionalNic Oughton8-Dec-02 23:02 
GeneralAdding Progress Bars to ListView Pin
athomas42195-Dec-02 21:04
athomas42195-Dec-02 21:04 
GeneralRe: Adding Progress Bars to ListView Pin
Richard Deeming5-Dec-02 23:47
mveRichard Deeming5-Dec-02 23:47 
GeneralWhy Are Mnemonic (Keys) Not Showing On Windows Forms Pin
Gaul5-Dec-02 17:33
Gaul5-Dec-02 17:33 
GeneralRe: Why Are Mnemonic (Keys) Not Showing On Windows Forms Pin
Richard Deeming5-Dec-02 23:49
mveRichard Deeming5-Dec-02 23:49 
GeneralRe: Why Are Mnemonic (Keys) Not Showing On Windows Forms Pin
Gaul6-Dec-02 16:00
Gaul6-Dec-02 16:00 
QuestionIs there a PushbackInputStream for C# or a work around? Pin
Rodney S. Foley5-Dec-02 13:53
Rodney S. Foley5-Dec-02 13:53 
GeneralLoading Windows Form dynamically into splitter Pin
femthink5-Dec-02 12:24
femthink5-Dec-02 12:24 
GeneralMail Merging with Word & C# Pin
MrEyes5-Dec-02 6:02
MrEyes5-Dec-02 6:02 
GeneralRe: Mail Merging with Word & C# Pin
Eric Gunnerson (msft)5-Dec-02 17:49
Eric Gunnerson (msft)5-Dec-02 17:49 
GeneralRe: Mail Merging with Word & C# Pin
MikeDoerfler6-Dec-02 6:19
MikeDoerfler6-Dec-02 6:19 
Generalvertically input text Pin
jirigala4-Dec-02 23:35
jirigala4-Dec-02 23:35 
GeneralRetrieving data from SQL server... Pin
$iva4-Dec-02 22:55
$iva4-Dec-02 22:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.