Changeset 5042c383741464af8911a7c93c91a525e72e48c7

Show
Ignore:
Timestamp:
02/23/11 20:59:59 (3 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1298494799 +0000
git-parent:

[0ba16060522984b6f0f311e3b6da4e135ea15433]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1298494799 +0000
Message:

this is not correct... need to fix the defs in noit_atomic.h instead

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/stratcon_datastore.c

    r0ba1606 r5042c38  
    15701570                                               const char *, void *)) { 
    15711571  struct datastore_onlooker_list *nnode; 
    1572   vpsized_int *vonlookers = (void *)&onlookers; 
    15731572  nnode = calloc(1, sizeof(*nnode)); 
    15741573  nnode->dispatch = f; 
    15751574  nnode->next = onlookers; 
    1576   while(noit_atomic_casptr(vonlookers, 
     1575  while(noit_atomic_casptr((volatile void **)&onlookers, 
    15771576                           nnode, nnode->next) != (void *)nnode->next) 
    15781577    nnode->next = onlookers;