Version 7 of unload

Updated 2007-09-25 03:00:20 by GPS

unload ?switches? fileName ?packageName? ?interp?

Eventually, the doc should appear here: http://www.purl.org/tcl/home/man/tcl8.5/TclCmd/unload.htm

New command in Tcl 8.5. See TIP 100 [L1 ] from George Petasis for where it came from.


Hints for extension authors who want to have an unloadable extension:

  • Be prepared for extra work when using a custom Tcl_Object type with non-NULL freeProc
  • Be extremly careful in your use of TSD (Thread Specific Data)
  • Be prepared for trouble if your extension involves the VFS layer
  • ...

JH: Note that TIP 239 [L2 ] will likely change the unload command before 8.5 is final.


Category Command