Click here to Skip to main content
15,890,043 members
Home / Discussions / C#
   

C#

 
GeneralRe: Using Digital Pen (or Optical Pen) in C#. Pin
hdv2125-Sep-09 7:57
hdv2125-Sep-09 7:57 
AnswerRe: Using Digital Pen (or Optical Pen) in C#. Pin
barankamali19-Jan-19 18:00
barankamali19-Jan-19 18:00 
Questionwhat are the dependencies or settings required for browser for supporting ManagementObject ? Pin
svt gdwl19-May-09 18:39
svt gdwl19-May-09 18:39 
QuestionAsyncCallback and multi threading Pin
yesu prakash19-May-09 18:39
yesu prakash19-May-09 18:39 
GeneralRe: AsyncCallback and multi threading Pin
harold aptroot19-May-09 23:32
harold aptroot19-May-09 23:32 
GeneralRe: AsyncCallback and multi threading Pin
yesu prakash20-May-09 0:44
yesu prakash20-May-09 0:44 
GeneralRe: AsyncCallback and multi threading Pin
harold aptroot20-May-09 1:09
harold aptroot20-May-09 1:09 
AnswerRe: AsyncCallback and multi threading Pin
Luc Pattyn20-May-09 2:47
sitebuilderLuc Pattyn20-May-09 2:47 
Hi,

AFAIK all async callbacks (such as supported by Dns.BeginGetHostEntry) and other async operations (such as SerialPort.DataReceived event) execute on the ThreadPool, which holds a collection of Threads (25 or more) ready to execute your code. You can't (or shouldn't?) modify the behavior of those threads (priority, IsBackground, ...)

If you don't like/trust the ThreadPool, don't use async callback, just create your own threads and let them to whatever it is you need in a synchronous way.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.

GeneralRe: AsyncCallback and multi threading Pin
yesu prakash20-May-09 3:25
yesu prakash20-May-09 3:25 
GeneralRe: AsyncCallback and multi threading Pin
Luc Pattyn20-May-09 3:45
sitebuilderLuc Pattyn20-May-09 3:45 
QuestionC# and Microsoft OutLook Express 6.0 Pin
nidi26119-May-09 18:10
nidi26119-May-09 18:10 
AnswerRe: C# and Microsoft OutLook Express 6.0 Pin
rakesh_aravindrsa19-May-09 18:38
rakesh_aravindrsa19-May-09 18:38 
GeneralRe: C# and Microsoft OutLook Express 6.0 Pin
Mycroft Holmes19-May-09 19:07
professionalMycroft Holmes19-May-09 19:07 
GeneralRe: C# and Microsoft OutLook Express 6.0 Pin
Roger Wright19-May-09 22:04
professionalRoger Wright19-May-09 22:04 
GeneralRe: C# and Microsoft OutLook Express 6.0 Pin
Mycroft Holmes19-May-09 23:15
professionalMycroft Holmes19-May-09 23:15 
GeneralRe: C# and Microsoft OutLook Express 6.0 Pin
Luc Pattyn20-May-09 2:49
sitebuilderLuc Pattyn20-May-09 2:49 
QuestionGeocoding Pin
shraddha IT19-May-09 18:06
shraddha IT19-May-09 18:06 
AnswerRe: Geocoding Pin
Dave Kreskowiak20-May-09 2:11
mveDave Kreskowiak20-May-09 2:11 
QuestionMultithreading is faster? Pin
Quake2Player19-May-09 17:53
Quake2Player19-May-09 17:53 
AnswerRe: Multithreading is faster? Pin
mav.northwind19-May-09 18:43
mav.northwind19-May-09 18:43 
AnswerRe: Multithreading is faster? Pin
Luis Alonso Ramos19-May-09 18:52
Luis Alonso Ramos19-May-09 18:52 
AnswerRe: Multithreading is faster? Pin
Dave Kreskowiak20-May-09 2:14
mveDave Kreskowiak20-May-09 2:14 
AnswerRe: Multithreading is faster? Pin
Luc Pattyn20-May-09 2:58
sitebuilderLuc Pattyn20-May-09 2:58 
GeneralRe: Multithreading is faster? Pin
Quake2Player20-May-09 3:12
Quake2Player20-May-09 3:12 
GeneralRe: Multithreading is faster? Pin
Luc Pattyn20-May-09 3:40
sitebuilderLuc Pattyn20-May-09 3:40 

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.