Re: [fpc-devel] THREAD Programming IN FPC

2007-01-09 Thread Florian Klaempfl
Jason P Sage schrieb: Are AnsiStrings managed intelligently in threaded applications? Meaning - do they have the same rules as other variables concerning multi-threaded applications or does the memory counters or "reference counts" to chunk of mem get hosed? They are thread safe if you don't me

Re: [fpc-devel] THREAD Programming IN FPC

2007-01-09 Thread Bram Kuijvenhoven
Jason P Sage wrote: First, why the random capitalization ? I capitalize based on words I'm trying to stress like I would in speech. Capitals are usually read as shouting, so I'd recommend to either leave it out, or use the more common /italic text/, *bold text* or _underlined text_ when you

Re: [fpc-devel] THREAD Programming IN FPC

2007-01-09 Thread Jason P Sage
>>Message: 3 - Jason P Sage Wrote (Original Message Snippet) >> I was wondering the rule on MULTI-THREADING when >> trying to make something THREAD SAFE. >> >> I Have multiple threads running, and I MADE >> EACH have its OWN set of >> VARIABLES - so there isn't VARIABLE Stomping >> from other T

Re: [fpc-devel] THREAD Programming IN FPC

2007-01-08 Thread Micha Nelissen
Jason P Sage wrote: The routines I CALL USUALLY have a few variables they use to keep track of counters or stuff that is only VALID during the life of the Call. My Problem is sometimes THESE Variables that are local to the sub routines are getting stomped in longer routines (That perhaps are g

[fpc-devel] THREAD Programming IN FPC

2007-01-08 Thread Jason P Sage
I was wondering the rule on MULTI-THREADING when trying to make something THREAD SAFE. I Have multiple threads running, and I MADE EACH have its OWN set of VARIABLES - so there isn't VARIABLE Stomping from other THREADS. The routines I CALL USUALLY have a few variables they use to keep track of