IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 24, 2010, 11:22:25 AM (16 years ago)
Author:
eugene
Message:

large update merging in changes for Ohana to support large files

Location:
trunk/Ohana
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana

  • trunk/Ohana/src/opihi/pantasks/JobOps.c

    r23563 r27435  
    7373
    7474  int i;
    75   int status;
    76   char command[1024];
    77   IOBuffer buffer;
    7875
    7976  gprint (GP_LOG, "\n");
  • trunk/Ohana/src/opihi/pantasks/ListenClients.c

    r23530 r27435  
    7070 
    7171  int i, Ncurrent, Nmax, status, Nread;
    72   char *line, log_stdout[128], log_stderr[128];
     72  char *line;
    7373  fd_set fdSet;
    7474  struct timeval timeout;
  • trunk/Ohana/src/opihi/pantasks/status_server.c

    r26948 r27435  
    11# include "pantasks.h"
     2
     3int status_scheduler(void);
    24
    35int status_server (int argc, char **argv) {
     
    103105}
    104106
    105 int status_scheduler() {
     107int status_scheduler(void) {
    106108 
    107109  gprint (GP_LOG, "\n");
  • trunk/Ohana/src/opihi/pantasks/thread_locks.c

    r23530 r27435  
    44static pthread_mutex_t ClientMutex = PTHREAD_MUTEX_INITIALIZER;
    55
    6 void ClientLock () {
     6void ClientLock (void) {
    77  pthread_mutex_lock (&ClientMutex);
    88}
    99
    10 void ClientUnlock () {
     10void ClientUnlock (void) {
    1111  pthread_mutex_unlock (&ClientMutex);
    1212}
     
    1515static pthread_mutex_t CommandMutex = PTHREAD_MUTEX_INITIALIZER;
    1616
    17 void CommandLock () {
     17void CommandLock (void) {
    1818  //  fprintf (stderr, "command lock\n");
    1919  pthread_mutex_lock (&CommandMutex);
    2020}
    2121
    22 void CommandUnlock () {
     22void CommandUnlock (void) {
    2323  //  fprintf (stderr, "command unlock\n");
    2424  pthread_mutex_unlock (&CommandMutex);
     
    2828static pthread_mutex_t ControlMutex = PTHREAD_MUTEX_INITIALIZER;
    2929
    30 void ControlLock (char *func) {
     30void ControlLock (const char *func) {
    3131  // fprintf (stderr, "control lock %s\n", func);
    3232  pthread_mutex_lock (&ControlMutex);
    3333}
    3434
    35 void ControlUnlock (char *func) {
     35void ControlUnlock (const char *func) {
    3636  // fprintf (stderr, "control unlock %s\n", func);
    3737  pthread_mutex_unlock (&ControlMutex);
     
    4141static pthread_mutex_t JobTaskMutex = PTHREAD_MUTEX_INITIALIZER;
    4242
    43 void JobTaskLock () {
     43void JobTaskLock (void) {
    4444  //  fprintf (stderr, "jobtask lock\n");
    4545  pthread_mutex_lock (&JobTaskMutex);
    4646}
    4747
    48 void JobTaskUnlock () {
     48void JobTaskUnlock (void) {
    4949  //  fprintf (stderr, "jobtask unlock\n");
    5050  pthread_mutex_unlock (&JobTaskMutex);
Note: See TracChangeset for help on using the changeset viewer.