Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

stil.cpp File Reference

#include <pthread.h>
#include <semaphore.h>
#include "stilcom.h"
#include "stil.h"
#include "stilcomstr.h"
#include <list>

Defines

#define open   open

Functions

int stil_yyparse ()
void stiltok_parse_new_file ()
void stilgmr_set_stil (STIL *, const sstring)
void stiltok_set_file (FILE *)
void stiltok_setbase_path (sstring)

Variables

FILE * p_orig_file
sem_t stil_producer_semaphore
sem_t stil_consumer_semaphore

Define Documentation

#define open   open
 


Function Documentation

int stil_yyparse  ) 
 

void stilgmr_set_stil STIL ,
const   sstring
 

void stiltok_parse_new_file  ) 
 

void stiltok_set_file FILE *   ) 
 

void stiltok_setbase_path sstring   ) 
 


Variable Documentation

FILE* p_orig_file
 

sem_t stil_consumer_semaphore
 

sem_t stil_producer_semaphore
 

For now make these semaphores global since we cannot have more than on parser going at a time AFAIK. Eventually these semaphores should become part of the class as we extend the STIL API's to support multiple parsers going in multiple threads all at once. Maybe this can be done with Flex/Bison or ANTLR??


This page last updated on 6 Jul 2007

SourceForge.net Logo