Add thread id to the Connection class #2902
Labels
I: No breaking change
Previously written code will work as before, no one should note anything changing (aside the fix)
S: High
Should be handled next
stale
Automatic marker for inactivity, please have another look here
T: Enhancement
New functionality, model or documentation
Currently, the
send()
function in theConnection
class is the only place where thethread_id
of the connection is available. This issue is to propose adding a new variable,thread_id
to theConnection
class as a private member and a corresponding private functionget_thread()
that returns the thread id. This makes it easier to query thethread_id
from all the functions in the synapse models, along with the models written in NESTML.The idea is to introduce a new variable
unsigned short int thread_id
in theConnection
class. The connection object has a target identifiertarget_
is 16 bits + 16 bits of padding + 32 bits ofSynIdDelay
data structure. The 16 bits of padding could be used for the connection's thread ID.The text was updated successfully, but these errors were encountered: