NEURON
multicore.h File Reference
#include <membfunc.h>

Go to the source code of this file.

Classes

struct  NrnThreadMembList
 
struct  NrnThreadBAList
 
struct  _nrn_Fast_Imem
 
class  NrnThread
 Represent main neuron object computed by single thread. More...
 

Macros

#define FOR_THREADS(nt)   for (nt = nrn_threads; nt < nrn_threads + nrn_nthread; ++nt)
 

Typedefs

typedef struct NrnThreadMembList NrnThreadMembList
 
typedef struct NrnThreadBAList NrnThreadBAList
 
typedef struct _nrn_Fast_Imem _nrn_Fast_Imem
 
typedef struct NrnThread NrnThread
 

Functions

void nrn_thread_error (const char *)
 
void nrn_multithread_job (void *(*)(NrnThread *))
 
void nrn_onethread_job (int, void *(*)(NrnThread *))
 
void nrn_wait_for_threads ()
 
void nrn_thread_table_check ()
 

Variables

int nrn_nthread
 
NrnThreadnrn_threads
 

Macro Definition Documentation

◆ FOR_THREADS

#define FOR_THREADS (   nt)    for (nt = nrn_threads; nt < nrn_threads + nrn_nthread; ++nt)

Definition at line 104 of file multicore.h.

Typedef Documentation

◆ _nrn_Fast_Imem

◆ NrnThread

typedef struct NrnThread NrnThread

◆ NrnThreadBAList

◆ NrnThreadMembList

Function Documentation

◆ nrn_multithread_job()

void nrn_multithread_job ( void *)(NrnThread *)

◆ nrn_onethread_job()

void nrn_onethread_job ( int  ,
void *)(NrnThread * 
)

◆ nrn_thread_error()

void nrn_thread_error ( const char *  s)

Definition at line 467 of file multicore.cpp.

◆ nrn_thread_table_check()

void nrn_thread_table_check ( )

Definition at line 1106 of file multicore.cpp.

◆ nrn_wait_for_threads()

void nrn_wait_for_threads ( )

Definition at line 1187 of file multicore.cpp.

Variable Documentation

◆ nrn_nthread

int nrn_nthread
extern

Definition at line 46 of file multicore.cpp.

◆ nrn_threads

NrnThread* nrn_threads
extern

Definition at line 47 of file multicore.cpp.