⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pthr_subs.h

📁 序列对齐 Compare a protein sequence to a protein sequence database or a DNA sequence to a DNA sequenc
💻 H
字号:
/* $Name: fa35_03_06 $ - $Id: pthr_subs.h,v 1.5 2007/06/29 20:23:58 wrp Exp $ */#include <pthread.h>/* error macro for thread calls */#define check(status,string) \   if (status != 0) {fprintf(stderr,string); \     fprintf(stderr,"%s\n",strerror(status)); } /* error macro *//*#define check(status,string) \     if (status == -1) perror(string)  */ /* error macro for thread calls */#ifndef XTERNALpthread_t threads[MAX_WORKERS];/* reader stuff */pthread_mutex_t reader_mutex;      /* empty buffer pointer structure lock */pthread_cond_t reader_cond_var;    /* condition variable for reader */pthread_mutex_t worker_mutex;      /* full buffer pointer structure lock */pthread_cond_t worker_cond_var;    /* condition variable for workers *//* condition variable stuff */pthread_mutex_t start_mutex;       /* start-up synchronisation lock */pthread_cond_t start_cond_var;     /* start-up synchronisation condition variable */#elseextern pthread_t threads[];/* mutex stuff */extern pthread_mutex_t reader_mutex;extern pthread_mutex_t worker_mutex;/* condition variable stuff */extern pthread_cond_t reader_cond_var;extern pthread_cond_t worker_cond_var;extern pthread_mutex_t start_mutex;extern pthread_cond_t start_cond_var;extern int start_thread;#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -