Click here to Skip to main content
15,912,329 members
Home / Discussions / C#
   

C#

 
GeneralRe: Masked Textbox Prompt Pin
Lodeclaw17-Feb-09 6:01
Lodeclaw17-Feb-09 6:01 
GeneralRe: Masked Textbox Prompt Pin
Nagy Vilmos17-Feb-09 6:14
professionalNagy Vilmos17-Feb-09 6:14 
GeneralRe: Masked Textbox Prompt Pin
Lodeclaw17-Feb-09 6:29
Lodeclaw17-Feb-09 6:29 
GeneralRe: Masked Textbox Prompt Pin
Nagy Vilmos17-Feb-09 23:19
professionalNagy Vilmos17-Feb-09 23:19 
QuestionThread.Sleep(0) action? Pin
Bruce Coward17-Feb-09 5:25
Bruce Coward17-Feb-09 5:25 
AnswerRe: Thread.Sleep(0) action? Pin
Nuri Ismail17-Feb-09 5:31
Nuri Ismail17-Feb-09 5:31 
GeneralRe: Thread.Sleep(0) action? Pin
Bruce Coward17-Feb-09 5:51
Bruce Coward17-Feb-09 5:51 
AnswerRe: Thread.Sleep(0) action? Pin
Luc Pattyn17-Feb-09 6:24
sitebuilderLuc Pattyn17-Feb-09 6:24 
Bruce Coward wrote:
my hardware vendor is telling me that the balance of the thread time idles the cpu


that is nonsense. Every Thread.Sleep tells the scheduler to go and reschedule threads, i.e. continue working on the highest-priority ready thread; if the caller happens to be the only ready thread, it will continue working immediately. A scheduler is not supposed to idle until a tick occurs, when there is work to do (i.e. there are ready threads), then at least some of it should be taken on immediately. What would be the point to halt the CPU till the end of the current tick???

I have developed my share of embedded operating systems, and used some commercial ones, I've never seen one that deliberately did nothing for a while, not even Windows. Big Grin | :-D

Smile | :)
Luc Pattyn [Forum Guidelines] [My Articles]

- before you ask a question here, search CodeProject, then Google
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get
- use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets


modified on Sunday, June 12, 2011 8:14 AM

GeneralRe: Thread.Sleep(0) action? Pin
PIEBALDconsult17-Feb-09 6:33
mvePIEBALDconsult17-Feb-09 6:33 
AnswerRe: Thread.Sleep(0) action? Pin
Luc Pattyn17-Feb-09 6:48
sitebuilderLuc Pattyn17-Feb-09 6:48 
GeneralRe: Thread.Sleep(0) action? Pin
PIEBALDconsult17-Feb-09 6:52
mvePIEBALDconsult17-Feb-09 6:52 
GeneralRe: Thread.Sleep(0) action? Pin
Bruce Coward17-Feb-09 6:44
Bruce Coward17-Feb-09 6:44 
QuestionError: "type name expected, but namespace name found" on calling a .WSDL Pin
mluque17-Feb-09 5:13
mluque17-Feb-09 5:13 
AnswerRe: Error: "type name expected, but namespace name found" on calling a .WSDL Pin
Nagy Vilmos17-Feb-09 5:25
professionalNagy Vilmos17-Feb-09 5:25 
GeneralRe: Error: "type name expected, but namespace name found" on calling a .WSDL Pin
mluque17-Feb-09 5:36
mluque17-Feb-09 5:36 
GeneralRe: Error: "type name expected, but namespace name found" on calling a .WSDL Pin
Nagy Vilmos17-Feb-09 5:44
professionalNagy Vilmos17-Feb-09 5:44 
GeneralRe: Error: "type name expected, but namespace name found" on calling a .WSDL Pin
mluque17-Feb-09 5:56
mluque17-Feb-09 5:56 
RantRe: Error: "type name expected, but namespace name found" on calling a .WSDL Pin
Nagy Vilmos17-Feb-09 6:12
professionalNagy Vilmos17-Feb-09 6:12 
GeneralRe: Error: "type name expected, but namespace name found" on calling a .WSDL Pin
expresso100016-Sep-09 11:17
expresso100016-Sep-09 11:17 
GeneralRe: Error: "type name expected, but namespace name found" on calling a .WSDL Pin
Nagy Vilmos17-Sep-09 0:38
professionalNagy Vilmos17-Sep-09 0:38 
QuestionCrystalReports how to Reset Record Number ? Pin
leeoze17-Feb-09 4:19
leeoze17-Feb-09 4:19 
AnswerHere is the answer... Pin
leeoze17-Feb-09 4:32
leeoze17-Feb-09 4:32 
GeneralRe: Here is the answer... Pin
Ennis Ray Lynch, Jr.17-Feb-09 4:42
Ennis Ray Lynch, Jr.17-Feb-09 4:42 
QuestionRetrieve a full CE database Pin
J-Cop17-Feb-09 4:15
J-Cop17-Feb-09 4:15 
AnswerRe: Retrieve a full CE database Pin
Wendelius17-Feb-09 8:20
mentorWendelius17-Feb-09 8:20 

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.