Click here to Skip to main content
15,909,193 members
Home / Discussions / C#
   

C#

 
QuestionGreyscale an Image the easy way... Pin
matthias s.20-Jul-06 2:35
matthias s.20-Jul-06 2:35 
AnswerRe: Greyscale an Image the easy way... Pin
BigAndy20-Jul-06 2:57
BigAndy20-Jul-06 2:57 
GeneralRe: Greyscale an Image the easy way... Pin
matthias s.20-Jul-06 3:34
matthias s.20-Jul-06 3:34 
GeneralBitmap is an Image object Pin
Ennis Ray Lynch, Jr.20-Jul-06 3:42
Ennis Ray Lynch, Jr.20-Jul-06 3:42 
GeneralRe: Greyscale an Image the easy way... Pin
BigAndy20-Jul-06 3:47
BigAndy20-Jul-06 3:47 
GeneralRe: Greyscale an Image the easy way... Pin
matthias s.20-Jul-06 3:53
matthias s.20-Jul-06 3:53 
AnswerIm not an imaging expert Pin
Ennis Ray Lynch, Jr.20-Jul-06 3:09
Ennis Ray Lynch, Jr.20-Jul-06 3:09 
QuestionMultithreading in C# Pin
k_dasaprakash20-Jul-06 2:08
k_dasaprakash20-Jul-06 2:08 
Hi,

Thanks in advance. I have an application which loads the database tables with five different site codes. In future the number of site codes may increase. For each site code 14 files are sent from another server to our server.

I have to write an application which checks for all the files to arrive and converts it into UTF-8 format and then calls the PL/SQL package and this should run parallely.

So I thought of using Multithreading with one thread for each of the site codes with site code as parameter.

Here is the problem I face. For instance, I have a flag which would be set to "No" if the files are missing and "Yes" if the files exist. In multithreading if I have to preserve the variable I have to block the variable from the other threads using it. Suppose for the site code where files arrival get delayed for 5-6 hrs or for some reason and it's thread blocks the variable then the other threads has to wait for this and this is not what I want. And I have set a lot many flags for in this application. Is Multithreading useful in this scenario? Please let me know your suggestions.

Thanks & Regards,
Das.
AnswerRe: Multithreading in C# Pin
Ennis Ray Lynch, Jr.20-Jul-06 3:12
Ennis Ray Lynch, Jr.20-Jul-06 3:12 
Questionstring to a command [modified] Pin
Schimaera20-Jul-06 2:01
Schimaera20-Jul-06 2:01 
AnswerRe: string to a command Pin
stancrm20-Jul-06 2:04
stancrm20-Jul-06 2:04 
AnswerRe: string to a command Pin
Ravi Bhavnani20-Jul-06 2:04
professionalRavi Bhavnani20-Jul-06 2:04 
AnswerRe: string to a command Pin
Colin Angus Mackay20-Jul-06 2:09
Colin Angus Mackay20-Jul-06 2:09 
GeneralRe: string to a command Pin
Schimaera20-Jul-06 2:16
Schimaera20-Jul-06 2:16 
AnswerRe: string to a command Pin
Ravi Bhavnani20-Jul-06 2:20
professionalRavi Bhavnani20-Jul-06 2:20 
GeneralRe: string to a command Pin
Schimaera20-Jul-06 2:24
Schimaera20-Jul-06 2:24 
GeneralRe: string to a command Pin
Schimaera20-Jul-06 2:44
Schimaera20-Jul-06 2:44 
GeneralRe: string to a command Pin
J4amieC20-Jul-06 2:52
J4amieC20-Jul-06 2:52 
GeneralRe: string to a command Pin
Schimaera20-Jul-06 2:57
Schimaera20-Jul-06 2:57 
GeneralRe: string to a command Pin
Schimaera20-Jul-06 3:24
Schimaera20-Jul-06 3:24 
GeneralRe: string to a command [modified] Pin
J4amieC20-Jul-06 3:48
J4amieC20-Jul-06 3:48 
GeneralRe: string to a command Pin
Josh Smith20-Jul-06 4:25
Josh Smith20-Jul-06 4:25 
GeneralRe: string to a command Pin
Schimaera20-Jul-06 4:57
Schimaera20-Jul-06 4:57 
GeneralRe: string to a command Pin
Josh Smith20-Jul-06 5:07
Josh Smith20-Jul-06 5:07 
GeneralRe: string to a command Pin
Schimaera20-Jul-06 5:10
Schimaera20-Jul-06 5:10 

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.