Function setTaskLocal

Sets a variable specific to the calling task/fiber. Scheduled for deprecation.

Please use TaskLocal instead.

Prototype

void setTaskLocal(T)(
  string name,
  T value
);

Remarks

This function also works if called from outside if a fiber. In this case, it will work on a thread local storage.

Authors

Sönke Ludwig

Copyright

© 2012-2014 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.