IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 24, 2006, 2:42:35 PM (20 years ago)
Author:
eugene
Message:

moved check_permissions to libohana, added buttons to Kii

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/addstar/src/addstart.c

    r6498 r6674  
    11# include "addstar.h"
     2# include <pthread.h>
    23
    34int main (int argc, char **argv) {
    45
    5   int status, InitSocket, BindSocket;
    6   SockAddress Address;
    7   IOBuffer message;
    86  AddstarClientOptions options;
     7  pthread_t thread;
     8  DVO_DATA *dataset;
     9  // pthread_attr_t attr;
    910
    1011  options = ConfigInit (&argc, argv);
     
    1314  /* store the sky table in a global for internal use */
    1415  ServerSky = SkyTableLoadOptimal (CATDIR, SKY_TABLE, GSCFILE, SKY_DEPTH, VERBOSE);
    15   SkyTableSetFilename (ServerSky, CATDIR, "cpt");
     16  SkyTableSetFilenames (ServerSky, CATDIR, "cpt");
    1617
    1718  VERBOSE = TRUE;
     
    2425
    2526  /* decide if we need an argument to dbthread */
    26   pthread_create (thread, attr, ListenClients_Thread, NULL);
     27  pthread_create (&thread, NULL, &ListenClients_Thread, NULL);
    2728
    2829  while (1) {
Note: See TracChangeset for help on using the changeset viewer.