Click here to Skip to main content
15,891,777 members

Comments by Chuck O'Toole (Top 200 by date)

Chuck O'Toole 13-Dec-12 4:19am View    
This will have no effect on his problem. There is nothing wrong with his use of "thread_array"
Chuck O'Toole 24-Nov-12 18:39pm View    
32KB is a very small stack these days, think in terms of MB
Chuck O'Toole 19-Nov-12 18:28pm View    
Programmers define bits in registers as "masks", e.g., 0x00000002, 0x00000004. In my experience with hardware guys who write code define bits as "bit numbers", 0, 1, 2, 3, etc. It is a characteristic of code written by hardware guys is that they like to do lots of "shift" operators. It's "artistic" versus "sledgehammer" style of coding.
Chuck O'Toole 19-Nov-12 13:05pm View    
you should put the in as a solution as it precisely answers his question
Chuck O'Toole 30-Oct-12 11:32am View    
True. The ratio of "process the list" events versus "add or remove from the list" events is usually the deciding factor. Timers are something you scan every "tick" yet occasionally add (new process/thread sleeping) or remove (timer expiring) them.