Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
comp . programming . threads
This is a Usenet group - learn more
Find or start a Google Group about threads.
Group info
Language: English
Group categories:
Computers > Programming
More group info »
Related Groups
Q&A for people programming under Unix.
Medium activity, Usenet
Technical discussion of the C++ language. (Moderated)
Medium activity, Usenet
Linux kernels, device drivers, modules.
Low activity, Usenet
Discussions
View:  Topic list, Topic summary Topics 1 - 10 of 13229  Older »
Description: All issues about multithreaded programming.
 

implementing V() / signal() 
  Why would this function need to do anything other than increment the semaphore? I can see why P() needs to decrement then wait -- but is there a need for V() to context switch on sem <= 0 etc? TIA
By ChrisA  - Nov 22 - 2 new of 2 messages    

Would this work on even one platform? 
  Here is simple example: static char string[] = "XXXXX XXXXX"; static bool volatile done = false; static pthread_mutex_t mutex; void thread_1() { strcpy(string, "Hello World"); pthread_mutex_lock(&mutex); pthread_mutex_unlock(&mutex); done = true; ...void other_threads() { do { pthread_mutex_lock(&mutex);... more »
By James  - Nov 20 - 16 new of 16 messages    

my understanding of acquire/release/etc 
  I find myself increasingly explaining to others my view of the memory model, CPU architecture, etc relating to lock free programming. I'm starting to think I better do a 'sanity check' before more people come asking. So here it is in (hopefully) a nutshell: I tend to give people a picture revolving around the CPU requesting... more »
By frege  - Nov 20 - 7 new of 7 messages    

Cheap Real Nike Jordan Shoes, Cheap Ice Cream shoes, Woman Nike shox,wholesale jordan from china 
  vipshoeshop Co.,Ltd( [link] ) wholesale cheap jordan shoes,buy New arrival nike jordan sneakers,discount nike kids series shoes,mix jordan sneakers,custom nike sb dunks,gucci tennis shoes for discount, sell jordan sneakers for men's women's kids,cheap nike trainers retro shoes,nike dunks premium sb,cheap nike zoom kobe 4... more »
By www.vipshoeshop.com  - Nov 19 - 1 new of 1 message    

user-space RCU implementation in Relacy 2.0 
  This code: [link] simulates a user-space RCU algorithm that is driven by a polling thread. Reader threads simply execute a synchronization operation on a episodic/periodic basis. Or, the reader threads can dynamically "opt-out" of the RCU polling process altogether. A reader thread would only do this... more »
By Chris M. Thomasson  - Nov 18 - 2 new of 2 messages    

simple, distributed spin-wait mutual exclusion w/o StoreLoad membar... 
  Here is the algorithm and some example uses modeled in the excellent Relacy Race Detector 2.0: [link] [link] (you can obtain a copy of Relacy here...) Here is some pseudo-code of a greatly simplified version of algorithm which can only be used to synchronizes two threads:... more »
By Chris M. Thomasson  - Nov 18 - 7 new of 7 messages    

sem_post() and signals 
  Hello, sem_post() is a signal safe function, which means that it's normally heavier to use than mutexes. However, I took a look to its implementation on Linux, and I don't see where is the actual cost. Below is the implementation on Linux, and there's nothing about signals here. Could anybody tell me if semaphore are really expensive ?... more »
By Francis Moreau  - Nov 16 - 23 new of 23 messages    

Men and Women stylish Fresh Nike Dunk shoes,Air force one shoes,EDhardy fashion 
  [link] Follow us there for our latest news and updates items, so you never miss a beat! Get your shoes By your favorite styles,here's your chance! Nice Nike Dunk shoes,Air force one shoes,EDhardy fashion... Shopping on kukuzone.com is easy and safe,even if you are a green hand on shopping,... more »
By kukuzone 1  - Nov 13 - 1 new of 1 message    

pthread_cond_wait segmentation fault 
  I tried to make a producer of 'items' but my implementation crashes at pthread_cond_wait ... I really tried looking at everything and put print statements throughout my code, but there it just crashes. I did put the wait within a mutex. This code isn't complete, but the relevant parts are in there (I assume). Any idea what I did wrong?... more »
By 001  - Nov 12 - 6 new of 6 messages    

discount nike tennis shoes gucci tennis shoes D&G sneaker lacoste trainers 
  Welcome to visit [link] hottest Nike Shoes, Nike Jordans, Nike Air Jordans, Air Jordan Fusion,Sell nike shoes air jordan,Jordan fusions,Air jordan women fusins,AJ fusions,AJ Fusions low,cheap Prada shoes, Gucci shoes, Adidas shoes, Nike shoes, Puma shoes,Cheap brand jeans:Coogi pants, Evisu jeans, RMC jeans, Crown Holder, Aftful Dodger... more »
By nicejordan  - Nov 10 - 1 new of 1 message    

1 - 10 of 13229   « Newer | Older »

XML      
Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google