Add SESSION-ALIVE?
This commit is contained in:
parent
3fc36e865e
commit
ec341accf9
|
@ -48,6 +48,7 @@
|
|||
set-options-cache-surflets?!
|
||||
|
||||
get-sessions
|
||||
session-alive?
|
||||
session-surflet-name
|
||||
session-memo
|
||||
session-continuation-table
|
||||
|
|
|
@ -387,6 +387,11 @@
|
|||
(release-lock *session-table-lock*)
|
||||
sessions))
|
||||
|
||||
;; SESSION-ALIVE? returns #t if there is a session with this id, #f
|
||||
;; otherwise.
|
||||
(define (session-alive? session-id)
|
||||
(if (session-lookup session-id) #t #f))
|
||||
|
||||
;;; GET-CONTINUATIONS
|
||||
;; Returns a list of all continuations of the session indicated by the
|
||||
;; SESSION-ID number (locking). The list elements are pairs of
|
||||
|
|
Loading…
Reference in New Issue