Groups | Search | Server Info | Keyboard shortcuts | Login | Register
Groups > comp.programming.threads > #1075
| Newsgroups | comp.programming.threads |
|---|---|
| Date | 2012-09-16 09:55 -0700 |
| Message-ID | <fdd5b92c-6ca1-4564-aedc-42b01c05cd37@googlegroups.com> (permalink) |
| Subject | pthread get/set specific for local buffers |
| From | sinbad.sinbad@gmail.com |
hi, In one of my program, there came a need where i should have a thread specific buffer, i found that pthread_key_t and pthread_getspecific() pthread_setspecific() family of functions are used exactly for that purpose, my question is it safe to use the above functions, are there any things i should keep in mind, finally is there any better solution for this. cheers sinbad
Back to comp.programming.threads | Previous | Next — Next in thread | Find similar
pthread get/set specific for local buffers sinbad.sinbad@gmail.com - 2012-09-16 09:55 -0700 Re: pthread get/set specific for local buffers Mark <i@dontgetlotsofspamanymore.invalid> - 2012-09-17 10:25 +0100
csiph-web