process-thread

Processes and threads

1a)Are MS Word and MS PowerPoint different processes or threads of a single process? b)How does a spell checker routine (common to both, word and PowerPoint) used? I mean is the code copied 2 times for each of the processes in the main memory, if they are different processes if they are threads. The question is not specific to Windo...

PostMessage() on Vista64 behaves weird

The scenario is like Process A invokes certain function foo in Process B, that actually does a PostMessage() on Process C. Process A invokes the function foo when then there is a WM_KEYDOWN message. This works just fine on all 32 bit platforms, but on Vista 64 - when there is a single keydown a burst of events is generated and there a...

Mutex Initialization -(UNIX)

In the following code.A mutex is initialized.what is the significance of NULL. pthread_mutex_init(&a->monitor,NULL); I want to know why we pass NULL as the second parameter. ...