guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Several questions


From: Ondrej 'SanTiago' Zajicek
Subject: Several questions
Date: Mon, 16 Apr 2001 14:21:54 +0200

Hello

I have several questions about guile and goops.

- When i have independent modules, which want use same names for their
methods (with different types of parameters), is there any clean way to
do it? If i use define-method and export, then define-method doesn't see
2. module's generic function and create new one, which overrides it
during exporting.

- Is there any possibility to do finalisation (hooking some function,
which will be called after (or before) freeing specified object from
memory)?

- If thread calls lock-mutex and the mutex is already locked, the
calling thread blocks until the mutex becomes available. But IMHO
classic mutex should accept more locking from same thread (mutex M owned
by thread T shouldn't block T's calls lock-mutex M) - it's much more
useful. So isn't current behaviour a bug (or correct name for this
object should be lock and not mutex)?

- Is there any possibility to get thread object (object, returned by
call-with-new-thread) of actual thread?

thanks

--
Ondrej 'SanTiago' Zajicek    (address@hidden)
"Resistance is futile. Open your source code and prepare for
assimilation."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]