File: Threads

package info (click to toggle)
rxp 1.2.3-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 436 kB
  • ctags: 966
  • sloc: ansic: 9,679; makefile: 127; sh: 3
file content (11 lines) | stat: -rw-r--r-- 506 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
RXP now attempts to be usable in a threaded environment, though this
has not been tested yet.

Many static variables have been removed and replaced by fields in
various structures.  Remaining static variables are initialised at the
start of the program (by the init_* functions) and not changed
afterwards, so init_parser() should be called before the threads
are started.

Parser objects should not be shared between threads.  If namespaces
are used, each thread should use a separate namespace universe.