[Bese-devel] Tasks

Waldo Rubinstein waldo at trianet.net
Thu Dec 22 03:05:58 UTC 2005


If you don't mind me asking, what is a task and where can I read  
about them?

Thanks,
Waldo

On Dec 21, 2005, at 9:06 PM, Hoan Ton-That wrote:

> Hey everyone,
>
> I've written an insy-winsy macro for tasks.
>
> (defmacro deftask (name &body body)
>   `(progn
>      (defcomponent ,name (task-component)
>        ())
>      ;; We use `self' as the magic variable, so tasks can answer.
>      (defaction start ((self ,name))
>        , at body)
>      ',name))
>
> Does anyone add extra slots to the task component?
>
> Hoan
> _______________________________________________
> bese-devel mailing list
> bese-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/bese-devel




More information about the bese-devel mailing list