Click here to Skip to main content
15,891,033 members
Home / Discussions / C#
   

C#

 
GeneralRe: Telling a thread to do something. Pin
mav.northwind22-Jan-08 22:57
mav.northwind22-Jan-08 22:57 
GeneralRe: Telling a thread to do something. Pin
Clive D. Pottinger23-Jan-08 3:43
Clive D. Pottinger23-Jan-08 3:43 
General(XNA!!!) Have Several Sprites of the Same Image, With Different Properties [modified] Pin
MasterSharp22-Jan-08 11:32
MasterSharp22-Jan-08 11:32 
GeneralRe: (XNA!!!) Have Several Sprites of the Same Image, With Different Properties Pin
MarkB77722-Jan-08 17:34
MarkB77722-Jan-08 17:34 
GeneralHelp with playing 24-bit audio Pin
kshet2622-Jan-08 11:31
kshet2622-Jan-08 11:31 
GeneralRaise event from DLL Pin
GeezerJoe22-Jan-08 11:15
GeezerJoe22-Jan-08 11:15 
GeneralDelete/Update MS Outlook appointments Pin
NewToAspDotNet22-Jan-08 10:10
NewToAspDotNet22-Jan-08 10:10 
Generalhandling multi-threading in C#.net 3.0 Pin
anumadhu22-Jan-08 9:31
anumadhu22-Jan-08 9:31 
Hello,


I am developing in C#.net 3.0 and here, i am using the multi-threading. Here i have 5 threads in the following way:

One thread sleeps for x mins after completing its one iteration.
Second thread sleeps for y secs after completing its one iteration.
Third thread sleeps for x hours after completing its one iteration.
Fouth thread sleeps for 1 day after completing its one iteration.
And the fifth thread sleeps for r mins after completing its one iteration.

All these threads have access to same database tables, sometimes they do reading and sometimes they do writing into the database table.

1) Here, I have an idea that, i have to lock the database.
2) And also, while debugging i have seen that, due to multi-threading there is an issue with the order of execution.

Can anyone help me on this ..please.... everything is over and at the last minute.. this problem arised.

Thanks
Anee

Anee
GeneralRe: handling multi-threading in C#.net 3.0 Pin
Skippums22-Jan-08 10:40
Skippums22-Jan-08 10:40 
Generalstring Pin
simworld22-Jan-08 8:39
simworld22-Jan-08 8:39 
GeneralRe: string Pin
J$22-Jan-08 8:42
J$22-Jan-08 8:42 
GeneralRe: string Pin
NewToAspDotNet22-Jan-08 10:08
NewToAspDotNet22-Jan-08 10:08 
GeneralRe: string Pin
Scott Dorman22-Jan-08 17:56
professionalScott Dorman22-Jan-08 17:56 
GeneralRe: string Pin
simworld23-Jan-08 5:19
simworld23-Jan-08 5:19 
QuestionHow to send parameters to a running application? Pin
Gene Arnold22-Jan-08 8:19
Gene Arnold22-Jan-08 8:19 
AnswerRe: How to send parameters to a running application? Pin
Gene Arnold22-Jan-08 8:32
Gene Arnold22-Jan-08 8:32 
Generalget a BSTR from a vc++ dll to a c# string Pin
Calvin Streeting22-Jan-08 7:45
Calvin Streeting22-Jan-08 7:45 
GeneralRe: get a BSTR from a vc++ dll to a c# string Pin
led mike22-Jan-08 8:15
led mike22-Jan-08 8:15 
GeneralRe: get a BSTR from a vc++ dll to a c# string Pin
Calvin Streeting22-Jan-08 8:36
Calvin Streeting22-Jan-08 8:36 
GeneralRe: get a BSTR from a vc++ dll to a c# string Pin
led mike22-Jan-08 11:34
led mike22-Jan-08 11:34 
GeneralRe: get a BSTR from a vc++ dll to a c# string Pin
Calvin Streeting22-Jan-08 13:45
Calvin Streeting22-Jan-08 13:45 
GeneralRe: get a BSTR from a vc++ dll to a c# string Pin
led mike23-Jan-08 4:46
led mike23-Jan-08 4:46 
GeneralRe: get a BSTR from a vc++ dll to a c# string Pin
Calvin Streeting23-Jan-08 7:44
Calvin Streeting23-Jan-08 7:44 
GeneralRe: get a BSTR from a vc++ dll to a c# string Pin
led mike23-Jan-08 8:17
led mike23-Jan-08 8:17 
Questionwhat is the difference between delegate and events Pin
netJP12L22-Jan-08 7:42
netJP12L22-Jan-08 7:42 

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.