skiplist-fix!

Synopsis

(skiplist-fix! skiplist)

Parameters

  • skiplist

Description

This procedure “fixes” the skip list and thus exempts it to be deleted (freed) during garbage collection when the interpreter has no longer a reference to it.

Side Effects

The skip list is fixed.

Return Value

unspecified (ok)

Example

> (define sl (skiplist-create))
sl
> (skiplist-fix! sl)
ok
> (skiplist-fixed? sl)
#t
>