IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 27, 2008, 6:06:03 PM (18 years ago)
Author:
eugene
Message:

adding multithreading capability

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppMerge/src/ppMerge.h

    r18166 r18757  
    11#ifndef PP_MERGE_H
    22#define PP_MERGE_H
     3
     4#ifdef HAVE_CONFIG_H
     5#include <config.h>
     6#endif
     7
     8#include <stdio.h>
     9#include <string.h>
     10#include <unistd.h>
     11#include <pslib.h>
     12#include <psmodules.h>
     13#include <ppStats.h>
    314
    415#define TIMERNAME "ppMerge"             // Name for timer
     
    2233    PPMERGE_FILES_OUTPUT                // Output files
    2334} ppMergeFiles;
     35
     36typedef struct {
     37    psArray *readouts;
     38    bool read;
     39    bool busy;
     40} ppMergeFileGroup;
    2441
    2542// Parse command-line arguments and recipe
     
    8097    );
    8198
     99
     100ppMergeFileGroup *ppMergeFileGroupAlloc();
     101ppMergeFileGroup *ppMergeReadChunk (psArray *fileGroups, pmConfig *config, int numChunk);
     102void *ppMergeThreadLauncher (void *data);
     103
    82104#endif
Note: See TracChangeset for help on using the changeset viewer.