Home | History | Annotate | Download | only in regexp

Lines Matching defs:thread

20 // It holds both the instruction pc and the actual thread.
25 t *thread
28 // A thread is the state of a single path through the machine:
31 type thread struct {
44 pool []*thread // pool of available threads
95 // alloc allocates a new thread with the given instruction.
97 func (m *machine) alloc(i *syntax.Inst) *thread {
98 var t *thread
103 t = new(thread)
183 // clear frees all threads on the thread queue.
255 func (m *machine) add(q *queue, pc uint32, pos int, cap []int, cond syntax.EmptyOp, t *thread) *thread {