Click here to Skip to main content
16,006,378 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: process crash on dual processor Winnt4 server Pin
Jim Crafton12-Apr-02 7:58
Jim Crafton12-Apr-02 7:58 
GeneralRe: process crash on dual processor Winnt4 server Pin
Tim Smith12-Apr-02 8:03
Tim Smith12-Apr-02 8:03 
GeneralRe: process crash on dual processor Winnt4 server Pin
Jim Crafton12-Apr-02 8:05
Jim Crafton12-Apr-02 8:05 
GeneralRe: process crash on dual processor Winnt4 server Pin
James R. Twine12-Apr-02 7:43
James R. Twine12-Apr-02 7:43 
GeneralRe: process crash on dual processor Winnt4 server Pin
Mike Nordell13-Apr-02 20:59
Mike Nordell13-Apr-02 20:59 
GeneralRe: process crash on dual processor Winnt4 server Pin
James R. Twine15-Apr-02 2:54
James R. Twine15-Apr-02 2:54 
GeneralRe: process crash on dual processor Winnt4 server Pin
Tim Smith12-Apr-02 7:56
Tim Smith12-Apr-02 7:56 
GeneralRe: process crash on dual processor Winnt4 server Pin
Jim Crafton12-Apr-02 8:03
Jim Crafton12-Apr-02 8:03 
would this result in crashes that seem to always result in an access violation in either the free() code ( it is deep in the MS heap allocator code) or new() ?

Tim Smith wrote:
Anytime you modify/read memory shared by multiple threads, you have to serialize access by some type of lock.
Yeah, I am doing this using mutexes there is a mutex for each list that I have (there are 3). Would CRITICAL_SECTION's be better ?
GeneralRe: process crash on dual processor Winnt4 server Pin
Tim Smith12-Apr-02 8:06
Tim Smith12-Apr-02 8:06 
GeneralRe: process crash on dual processor Winnt4 server Pin
James R. Twine12-Apr-02 9:26
James R. Twine12-Apr-02 9:26 
GeneralRe: process crash on dual processor Winnt4 server Pin
Jim Crafton12-Apr-02 11:01
Jim Crafton12-Apr-02 11:01 
GeneralRe: process crash on dual processor Winnt4 server Pin
James R. Twine12-Apr-02 20:38
James R. Twine12-Apr-02 20:38 
GeneralRe: process crash on dual processor Winnt4 server Pin
Vivek Rajan12-Apr-02 21:35
Vivek Rajan12-Apr-02 21:35 
Generalmultimap problem Pin
Alexandru Savescu12-Apr-02 6:10
Alexandru Savescu12-Apr-02 6:10 
GeneralRe: multimap problem Pin
Jim Crafton12-Apr-02 6:39
Jim Crafton12-Apr-02 6:39 
GeneralRe: multimap problem Pin
Alexandru Savescu12-Apr-02 13:16
Alexandru Savescu12-Apr-02 13:16 
GeneralI would like to know your opinion Pin
Le centriste12-Apr-02 5:41
Le centriste12-Apr-02 5:41 
Generaldird(r)iver function Pin
Kuniva12-Apr-02 5:38
Kuniva12-Apr-02 5:38 
GeneralRe: dird(r)iver function Pin
Mike Nordell13-Apr-02 21:27
Mike Nordell13-Apr-02 21:27 
GeneralSetEvent for thread Pin
meirav12-Apr-02 5:33
meirav12-Apr-02 5:33 
GeneralRe: SetEvent for thread Pin
Tim Smith12-Apr-02 8:01
Tim Smith12-Apr-02 8:01 
GeneralRe: SetEvent for thread Pin
meirav13-Apr-02 2:50
meirav13-Apr-02 2:50 
QuestionON_WM_ERASEBKGND() never gets called? Pin
dazinith12-Apr-02 5:18
dazinith12-Apr-02 5:18 
AnswerRe: ON_WM_ERASEBKGND() never gets called? Pin
lucy12-Apr-02 5:23
lucy12-Apr-02 5:23 
GeneralRe: ON_WM_ERASEBKGND() never gets called? Pin
dazinith12-Apr-02 5:52
dazinith12-Apr-02 5:52 

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.