Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
11092e5d9b
  1. 2
      basilisk/basilisk_swap.c

2
basilisk/basilisk_swap.c

@ -743,7 +743,7 @@ struct basilisk_swap *basilisk_thread_start(struct supernet_info *myinfo,struct
if ( bitcoin_swapinit(myinfo,swap) != 0 ) if ( bitcoin_swapinit(myinfo,swap) != 0 )
{ {
//#ifdef __APPLE__ //#ifdef __APPLE__
fprintf(stderr,"launch.%d %ld\n",myinfo->numswaps,sizeof(myinfo->swaps)/sizeof(*myinfo->swaps)); fprintf(stderr,"launch.%d %d\n",myinfo->numswaps,(int32_t)(sizeof(myinfo->swaps)/sizeof(*myinfo->swaps)));
if ( OS_thread_create(malloc(sizeof(pthread_t)),NULL,(void *)basilisk_swaploop,(void *)swap) != 0 ) if ( OS_thread_create(malloc(sizeof(pthread_t)),NULL,(void *)basilisk_swaploop,(void *)swap) != 0 )
{ {

Loading…
Cancel
Save