29 Mar '15, 6pm

Process and thread fundamentals

Just as a house occupies an area of real estate, a process occupies memory. And just as a house's occupants are free to go into any room they want, a processes' threads all have common access to that memory. If a thread allocates something (mom goes out and buys a game), all the other threads immediately have access to it (because it's present in the common address space — it's in the house). Likewise, if the process allocates memory, this new memory is available to all the threads as well. The trick here is to recognize whether the memory should be available to all the threads in the process. If it is, then you'll need to have all the threads synchronize their access to it. If it isn't, then we'll assume that it's specific to a particular thread. In that case, since only that thread has access to it, we can assume that no synchronization is required — the thread isn't goi...

Full article: http://www.qnx.com/developers/docs/6.4.1/neutrino/getting...

Tweets

@BellaLeslie @Mairead_Sayre I drink Jasmine green tea. Can smells the flowers! I Drink Swiss process decaf.

@BellaLeslie @Mairead_Sayre I drink Jasmine gre...

camanoislandcoffee.com 29 Mar '15, 1am

We only roast Swiss Water Process — Safe Decaf Coffee. When we started the company back in 1999, we decided to provide the...

Chill Out in this Week's Open Thread: Taking a break from our usual crazy at Hackerspace, the reader run branc..

Chill Out in this Week's Open Thread: Taking a ...

hackerspace.lifehacker.com 27 Mar '15, 1pm

Taking a break from our usual crazy at Hackerspace , the reader run branch of the lifehacker family, this week's open thre...