[fpc-devel]Custom thread Data?
    Peter Vreman 
    peter at freepascal.org
       
    Thu Nov 14 10:18:36 CET 2002
    
    
  
At 04:25 14-11-2002, you wrote:
>Now that mulit-threading is available in 1.1, will it be possible to add
>something like windows tlsSetValue etc for custom thread data? I think
>it should be possible to do directly via pthread_setspecific etc, but it
>would be nice if it was part of rtl or fcl for cross win/*nix support,
>something like can be done in Delphi with TlsGetValue(
>hAlternateSession),and so forth.
You can use threadvar to declare a variable to be thread specific.
Peter
    
    
More information about the fpc-devel
mailing list