Hi Guys, The Linux tthread.inc file in FPC 2.2.4 refers:
There is a constant array defined at line 55 that lists 'priority' values which I think are inverted. i.e. Currently, the listed values range from -20 to +19 and these map to tpIdle to tpRealtime. According to man nice(1), Nicenesses range from -20 (most favorable scheduling) to 19 (least favorable scheduling). The comment on line 54 should perhaps be reworded to reflect that although it's not implemented in the current release, the user is free to use the values if he so wishes. It's not stupid, one never knows what the next guy will do with ones code. If the above has been sorted for the next release, that's cool. Regards, Nino _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal