summaryrefslogtreecommitdiff
path: root/web/yacco2/library/pms.w
blob: 4c09f29d1ff4e4ecc83f20d60b3e1562d2644c88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
@q file: pms.w@>
@q%   Copyright Dave Bone 1998 - 2015@>
@q% /*@>
@q%    This Source Code Form is subject to the terms of the Mozilla Public@>
@q%    License, v. 2.0. If a copy of the MPL was not distributed with this@>
@q%    file, You can obtain one at http://mozilla.org/MPL/2.0/.@>
@q% */@>
@** PMS --- Post meta syndrome.\fbreak
Post thoughts of improvement before using Linker.

@ What happens when there are no threads to produce?.\fbreak
Deal with iT? 
Sorry for the yelling...haha
This is a legitimate situation.\fbreak

So |THDS_STABLE__| and |T_ARRAY_HAVING_THD_IDS__| have NULL pointers emitted.
This situation does not have to be checked for in Yacco2 parse library
as there are no threads in the local state configuration to be tried.
Yacco2 parsing checks to see if the \PARshift{} symbol is present in the current 
state configuration before trying to parallel parse.\fbreak
22 April 2005 

@ Passover on code.\fbreak
Spring cleaning so put in those last gasp constraints. I know
\CPLUSPLUS/'s containers could be used to generate bit maps but...
Enough of my rantings and mistrust on others software.
So there's a hardcoded number of threads supported.
The number of threads supported is |SPECULATIVE_NO_BIT_WORDS| * 
|BITS_PER_WORD|. Under current definitions this works out to 20*32 threads
that can be gened. A bit of overkill but u never know who's out there.
Now u can rant at me if this limit  is surpassed. I would really
like to know what u're doing to exceed this speed bump: 
Could be an interesting conversation. \fbreak
24 Apr. 2005

@ Add test suites.\fbreak
25 Apr. 2005