...may not have anticipated the creation of a newsgroup thread entitled "Heapmemoryavailable (W32consoleapp in VisualC++)" and it's unpredictable "creativity...Ultimate Question", 42 *is* in fact the "HeapMemoryAvailable in a W32consoleapp in VisualC++"? It's not so ... just compiled and ran over 100,000 randomized console applications and have yet to see malloc(42) fail. ...
...at the beginning of this thread? And that the answer to the "Ultimate Question", 42 *is* in fact the "HeapMemoryAvailable in a W32consoleapp in VisualC++"? Oh no! ...'ve just compiled and ran over 100,000 randomized console applications and have yet to see malloc(42) fail. And ...-- bitwyse [PGP KeyID 0xA79C8F2C] Les conseils - c'est ce qu'on demande quand on ...
... at least two different ways why you were wrong, which you clipped and ignored (that's a big part of your problem), that I began to speak more and more bluntly to you, because talking "academically" to you does not work. -- Doug Harrison VisualC++ MVP
... things far better than you do are all wrong. Gotcha. Like I said elsewhere, it is pointless to continue trying to reason with you, because nothing penetrates your arrogance or obtuseness or whatever it is that is impeding your understanding. -- Doug Harrison VisualC++ MVP
...* have told you that you misinterpreted what I said? Do you realize you're essentially making one of the lamest arguments there is, namely, "The lurkers support me in email?" http://barb.velvet.com/humor/lurkers.html -- Doug Harrison VisualC++ MVP
..., acquisition implies ownership or equivalently, "thread affinity". That is not the case for a binary semaphore used to simulate a mutex, though, for it can be released by a different thread than the one that acquired it. Which I'm sure you (Alex) know. -- Doug Harrison VisualC++ MVP
... comp.programming.threads FAQ might also prove useful. I haven't even mentioned important concepts such as memory visibility, which are tied into synchronization methods, because you've yet to clear the mutual exclusion concept hurdle, ... don't get it that you misinterpret things. It's equally clear that it's pointless to continue trying to reason with you. -- Doug Harrison VisualC++ MVP
...) after a piece of code (critical section) instead of calling it what it is, a type of mutex. Therefore, I find it laughable that you would now accuse me of essentially making up terms on the basis of my being a "Windows programmer". -- Doug Harrison VisualC++ MVP
... think I mean only the kernel mutex, when really I mean whichever one is appropriate. By the time I explain that, I've used more characters than I avoided by writing "mutex" instead of the clumsier misnomer "CRITICAL_SECTION". -- Doug Harrison VisualC++ MVP