~ubuntu-branches/ubuntu/quantal/libgc/quantal

« back to all changes in this revision

Viewing changes to include/private/specific.h

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Egger
  • Date: 2011-03-02 13:43:18 UTC
  • mfrom: (1.2.5 upstream) (3.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20110302134318-82ful0us5ce82qe8
Tags: 1:7.1-7
* Add ppc64 symbol file (Closes: #615469)
* Add sh4 symbol file (Closes: #614744)
* Add armhf symbol file
* Add powerpcspe symbol file
* Handle sparc64 the same as sparc
* Clear non-arch symbol file to support building on not yet captured
  architectures
* add -pthread to fix build with --no-add-needed

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
 */
14
14
 
15
15
#include <errno.h>
 
16
#include "atomic_ops.h"
16
17
 
17
18
/* Called during key creation or setspecific.           */
18
19
/* For the GC we already hold lock.                     */
34
35
/* value.  This invariant must be preserved at ALL times, since         */
35
36
/* asynchronous reads are allowed.                                      */
36
37
typedef struct thread_specific_entry {
37
 
        unsigned long qtid;     /* quick thread id, only for cache */
 
38
        volatile AO_t qtid;     /* quick thread id, only for cache */
38
39
        void * value;
39
40
        struct thread_specific_entry *next;
40
41
        pthread_t thread;