Skip to content
  1. Aug 24, 2005
    • Eric Lavigne's avatar
      condition-terminates-process · dc77b9aa
      Eric Lavigne authored
      handler-case added to spawn. Unhandled conditions signalled by a process
      will kill that process, rather than interrupting the entire lisp image.
      This provides a convenient way to kill processes, by signalling a
      condition. In later patches, the handler-case for may include code for
      sending termination messages to linked processes.
      
      darcs-hash:509f7ea7b914a07ef22d1fa7d4847d4ec6493a29
      dc77b9aa
  2. Jun 15, 2005
  3. Feb 21, 2005
    • Dirk Gerrits's avatar
      Expanded timeout clause syntax to support time-units. · 5ab4c7c4
      Dirk Gerrits authored
      * src/messaging.lisp (*time-units*, time-unit-p, timeout-pattern-p)
      (timeout-factor, timeout-milliseconds, parse-receive-clauses): Expanded
      timeout clause syntax to support time-units.
      
      * test/messaging.lisp (receive-with-timeout): Expanded test to use timeout
      clauses with time-units.
      
      darcs-hash:978f85e96b210e7376ce6c9cbd44218541f12ad0
      5ab4c7c4
    • Dirk Gerrits's avatar
      Implemented timeouts for RECEIVE. · e9411f04
      Dirk Gerrits authored
      * src/compatibility.lisp (with-timeout): New macro to abort evaluation
      after a certain number of milliseconds.
      
      * src/messaging.lisp (parse-receive-clauses,maybe-wrap-in-timeout)
      (generate-receive): Implement timeout clauses for RECEIVE.
      
      * test/messaging.lisp (receive-with-timeout): Added test for RECEIVE with
      timeout clause.
      
      darcs-hash:d6aee7410b7d6ee24b48c9eee53474a5bad418fb
      e9411f04
  4. Nov 26, 2004
    • Dirk Gerrits's avatar
      Small fixups for pattern matching tests.... · eeed6983
      Dirk Gerrits authored
      Small fixups for pattern matching tests. (dirk@dirkgerrits.com--lisp-2004/erlisp--mainline--0.1--patch-10)
      
      dirk@dirkgerrits.com--lisp-2004/erlisp--mainline--0.1--patch-10
      Keywords:
      
      * src/matcher.lisp: Made COND- and CASE-MATCHER's bound variables
        IGNORABLE.
      * test/matcher.lisp: Fixed missing EQL and EQ instead of EQL.
      
      darcs-hash:89cb44bab19f800eb4ddc2c6122ee05aa3724068
      eeed6983
    • Dirk Gerrits's avatar
      Implemented message passing for threaded processes.... · 69ba284c
      Dirk Gerrits authored
      Implemented message passing for threaded processes. (dirk@dirkgerrits.com--lisp-2004/erlisp--mainline--0.1--patch-9)
      
      dirk@dirkgerrits.com--lisp-2004/erlisp--mainline--0.1--patch-9
      Keywords:
      
      * src/compatibility.lisp: Added mutexes and events/conditions/signals/
        whatever you like to call them.
      
      * src/mailbox.lisp: Complicated the API :( to make sure each message is
        tested against each RECEIVE only once.
      * test/mailbox.lisp: Refactored TAKE-IF test.
      
      * src/process.lisp: Added much needed synchronization to threaded
        processes.
      
      * src/messaging.lisp: Implemented message sending and receiving for
        threaded processes.
      * test/messaging.lisp: Tests message sending and receiving.
      
      darcs-hash:d256ef0eee457a48d5b9556a43fd6dab1c33daec
      69ba284c
    • Dirk Gerrits's avatar
      Easier to use pattern matching API.... · 80edaa71
      Dirk Gerrits authored
      Easier to use pattern matching API. (dirk@dirkgerrits.com--lisp-2004/erlisp--mainline--0.1--patch-8)
      
      dirk@dirkgerrits.com--lisp-2004/erlisp--mainline--0.1--patch-8
      Keywords:
      
      * src/matcher.lisp: Easier to use API through MATCH(-WITH-MATCHER.  Added
        COND-MATCHER and made it the default.
      * test/matcher.lisp: Added tests for MATCH and for COND-MATCHER and
        CASE-MATCHER through MATCH-WITH-MATCHER.
      
      darcs-hash:8d3e78d89b88efe5347fca3bfd49d24a174aafba
      80edaa71
  5. Nov 06, 2004
    • Dirk Gerrits's avatar
      Added pattern matcher API and simplistic "matcher".... · 30772141
      Dirk Gerrits authored
      Added pattern matcher API and simplistic "matcher". (dirk@dirkgerrits.com--lisp-2004/erlisp--mainline--0.1--patch-7)
      
      dirk@dirkgerrits.com--lisp-2004/erlisp--mainline--0.1--patch-7
      Keywords:
      
      * erlisp.asd, src/matcher.lisp, test/matcher.lisp: Added pattern
        matcher API and simplistic "matcher".
      
      darcs-hash:b21ccfd48d741c2a3424f5ab4e2947aa6774a62b
      30772141
  6. Nov 05, 2004
    • Dirk Gerrits's avatar
      Added threaded processes without communication.... · 69b154cf
      Dirk Gerrits authored
      Added threaded processes without communication. (dirk@dirkgerrits.com--lisp-2004/erlisp--mainline--0.1--patch-6)
      
      dirk@dirkgerrits.com--lisp-2004/erlisp--mainline--0.1--patch-6
      Keywords:
      
      * src/compatibility.lisp: Wrappers around (implementation specific) threading.
      
      * src/node.lisp, test/node.lisp: Dummy node functionality.
      
      * src/process.lisp, test/process.lisp: Threaded process implementation
        without communication support.
      
      * erlisp.asd: Added dependencies on new files.
      
      darcs-hash:cfd6e62e686598184e1f09e9933046850ad6974c
      69b154cf
    • Dirk Gerrits's avatar
      Reindented license notice. (dirk@dirkgerrits.com--lisp-2004/erlisp--mainline--0.1--patch-5) · f8d649c8
      Dirk Gerrits authored
      dirk@dirkgerrits.com--lisp-2004/erlisp--mainline--0.1--patch-5
      Keywords:
      
      * erlisp.asd, src/mailbox.lisp, src/package.lisp, test/mailbox.lisp,
        test/suite.lisp: Reindented license notice.
      
      darcs-hash:9898c9687edfb923369252057a825c6e89cb3f0f
      f8d649c8
  7. Nov 03, 2004
    • Dirk Gerrits's avatar
      Fixed grammatical mistake in license.... · dfac1804
      Dirk Gerrits authored
      Fixed grammatical mistake in license. (dirk@dirkgerrits.com--lisp-2004/erlisp--mainline--0.1--patch-4)
      
      dirk@dirkgerrits.com--lisp-2004/erlisp--mainline--0.1--patch-4
      Keywords:
      
      * erlisp.asd, src/package.lisp, src/mailbox.lisp, test/suite.lisp,
        test/mailbox.lisp: Fixed grammatical mistake in license.
      
      darcs-hash:eea52f06560216480388105ff8613b474a2c9b6a
      dfac1804
  8. Oct 24, 2004
    • Dirk Gerrits's avatar
      Added test trying to take a non-existant message from a mailbox.... · 65d57fe9
      Dirk Gerrits authored
      Added test trying to take a non-existant message from a mailbox. (dirk@dirkgerrits.com--lisp-2004/erlisp--mainline--0.1--patch-3)
      
      dirk@dirkgerrits.com--lisp-2004/erlisp--mainline--0.1--patch-3
      Keywords:
      
      * test/mailbox.lisp (mailbox-take-if): Added test trying to take a
        non-existant message from a mailbox.
      
      darcs-hash:77715b8d9612267ec6622d82ebe643ce716f0e0c
      65d57fe9
    • Dirk Gerrits's avatar
      Added copyright and BSD license information.... · 263068f9
      Dirk Gerrits authored
      Added copyright and BSD license information. (dirk@dirkgerrits.com--lisp-2004/erlisp--mainline--0.1--patch-2)
      
      dirk@dirkgerrits.com--lisp-2004/erlisp--mainline--0.1--patch-2
      Keywords:
      
      * erlisp.asd, src/package.lisp, src/mailbox.lisp, test/mailbox.lisp,
        test/suite.lisp: Added copyright and BSD license information.
      
      darcs-hash:d3f0e744b4e75f3b09c39b51a4e6e4dd92ff091f
      263068f9
  9. Dec 25, 2004