Click here to Skip to main content
15,888,984 members
Home / Discussions / C#
   

C#

 
GeneralRe: Delegate casting/conversion Pin
harold aptroot21-Aug-10 6:33
harold aptroot21-Aug-10 6:33 
GeneralRe: Delegate casting/conversion Pin
DaveyM6921-Aug-10 6:40
professionalDaveyM6921-Aug-10 6:40 
GeneralRe: Delegate casting/conversion Pin
harold aptroot21-Aug-10 6:45
harold aptroot21-Aug-10 6:45 
QuestionThreading for multicore applications Pin
Steven Solberg21-Aug-10 5:20
Steven Solberg21-Aug-10 5:20 
GeneralRe: Threading for multicore applications Pin
harold aptroot21-Aug-10 5:44
harold aptroot21-Aug-10 5:44 
GeneralRe: Threading for multicore applications [modified] Pin
Steven Solberg21-Aug-10 6:13
Steven Solberg21-Aug-10 6:13 
GeneralRe: Threading for multicore applications Pin
harold aptroot21-Aug-10 6:42
harold aptroot21-Aug-10 6:42 
GeneralRe: Threading for multicore applications Pin
Steven Solberg21-Aug-10 6:51
Steven Solberg21-Aug-10 6:51 
Sorry about that

What I mean is the following;
The basic thing I want to accomplish is dividing a repetitive task into smaller fragments, so each core can work on it. Finishing the work faster than when only one core is used.
This 'work' can be about anything; Invoking a method on an image, a method on a self-defined class, ...
So what would be ideal for me would be something like this: DoWork(list<bitmap> bmps, method which_method, object argument_for_the_method)
This could be saving a list of bitmaps to disk, or resizing, anything... The list doesn't hve to be a list of bitmaps either.
I however can't figure out how to make a delegate or class which can support methods with and without return types and different lengths of parameters. And making a delegate for each different set of possibilities doesn't seem like an option either.
GeneralRe: Threading for multicore applications Pin
harold aptroot21-Aug-10 7:02
harold aptroot21-Aug-10 7:02 
GeneralRe: Threading for multicore applications Pin
Steven Solberg21-Aug-10 7:05
Steven Solberg21-Aug-10 7:05 
GeneralRe: Threading for multicore applications Pin
harold aptroot21-Aug-10 7:11
harold aptroot21-Aug-10 7:11 
GeneralRe: Threading for multicore applications Pin
Steven Solberg21-Aug-10 7:25
Steven Solberg21-Aug-10 7:25 
GeneralRe: Threading for multicore applications Pin
harold aptroot21-Aug-10 7:27
harold aptroot21-Aug-10 7:27 
GeneralRe: Threading for multicore applications Pin
Steven Solberg21-Aug-10 7:47
Steven Solberg21-Aug-10 7:47 
GeneralRe: Threading for multicore applications Pin
harold aptroot21-Aug-10 7:57
harold aptroot21-Aug-10 7:57 
GeneralRe: Threading for multicore applications Pin
Steven Solberg21-Aug-10 8:03
Steven Solberg21-Aug-10 8:03 
GeneralRe: Threading for multicore applications Pin
harold aptroot21-Aug-10 8:28
harold aptroot21-Aug-10 8:28 
AnswerRe: Threading for multicore applications Pin
Luc Pattyn21-Aug-10 10:02
sitebuilderLuc Pattyn21-Aug-10 10:02 
GeneralRe: Threading for multicore applications Pin
Steven Solberg22-Aug-10 8:17
Steven Solberg22-Aug-10 8:17 
GeneralRe: Threading for multicore applications Pin
Luc Pattyn22-Aug-10 8:47
sitebuilderLuc Pattyn22-Aug-10 8:47 
GeneralRe: Threading for multicore applications Pin
Steven Solberg22-Aug-10 8:57
Steven Solberg22-Aug-10 8:57 
QuestionC# Getting Responce From Form1 Pin
C.CoderCreator21-Aug-10 2:24
C.CoderCreator21-Aug-10 2:24 
AnswerRe: C# Getting Responce From Form1 Pin
Abhinav S21-Aug-10 2:51
Abhinav S21-Aug-10 2:51 
GeneralRe: C# Getting Responce From Form1 Pin
C.CoderCreator21-Aug-10 2:55
C.CoderCreator21-Aug-10 2:55 
AnswerRe: C# Getting Responce From Form1 Pin
venomation21-Aug-10 3:16
venomation21-Aug-10 3:16 

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.