|
(chiming in) Happy birthday Marc!! Have plenty more, they are good for you.
>64
Some days the dragon wins. Suck it up.
|
|
|
|
|
Thank you, and yes they are!
|
|
|
|
|
|
|
Happy birthday young man!
The most expensive tool is a cheap tool. Gareth Branwyn
JaxCoder.com
|
|
|
|
|
Thank you! 60 years young!
|
|
|
|
|
|
Sound like you have a good day!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Should WaitOne have been named WaitOn?
Gus Gustafson
|
|
|
|
|
Hmmm,
I think the One in the name is referring to the number of objects you are waiting on. The Windows API equivalent would probably be WaitForSingleObject[^].
|
|
|
|
|
+5 Good thought.
Gus Gustafson
|
|
|
|
|
Of course, I'm assuming that you were referring to WaitOne[^]. 
|
|
|
|
|
I think so too
Paul Sanders.
If I had more time, I would have written a shorter letter - Blaise Pascal.
Some of my best work is in the undo buffer.
|
|
|
|
|
Maybe, if "wait one" implies a time limit, but "wait on" does not.
|
|
|
|
|
WaitADaGumMinute?
The most expensive tool is a cheap tool. Gareth Branwyn
JaxCoder.com
|
|
|
|
|
"Wait One" referring to waiting a minute is US dialect / jargon. We should have "WaitOneSecond", "WaitOneMinute", ...
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Nope. WaitOne means you're waiting on a single signal as opposed to WaitAny and WaitAll. The term "WaitOn" could mean "wait on one signal" or "wait on any signal" or "wait on all", all of which are very ambiguous with the adjective "on". When dealing with threads and signaling, being very clear is critical for successful task/thread management.
|
|
|
|
|
Considering how much you like proper naming, I would have called it BRB just to see your reaction.
"It is easy to decipher extraterrestrial signals after deciphering Javascript and VB6 themselves.", ISanti[ ^]
|
|
|
|
|
dan!sh wrote: called it BRB
We need a "vomiting" reaction!
People using SMS abbreviations in their code should be defenestrated, then hangΓ©d* from the nearest lamppost as a warning to others!
* Much worse than a regular hanging!
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
To truly punish them we'd make them maintain our legacy code. Serves 'em right.
|
|
|
|
|
dan!sh wrote: I would have called it BRB just to see your reaction.
Or as is often the case, BBL.
|
|
|
|
|
agree with Marc's comments
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
It's based on waiting for a single object. There are also WaitAny and WaitAll that wait on an array of objects.
|
|
|
|
|
Its not waiting for an object, its pausing itself until the timeout period elapse or the release signal is received. I think it should just be called wait(). Wait one implies that it waits until the supplied thread is released which is not what happens.
|
|
|
|
|
Wordle 426 3/6
π©β¬π©β¬π¨
π©β¬π©π©β¬
π©π©π©π©π©
|
|
|
|