Branch: Tag:

2000-02-13

2000-02-13 16:24:13 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Kludge for low_findprog() being called when threads are disabled.

Rev: lib/master.pike.in:1.100

1:   /* -*- Pike -*-    * -  * $Id: master.pike.in,v 1.99 2000/02/10 17:57:37 hubbe Exp $ +  * $Id: master.pike.in,v 1.100 2000/02/13 16:24:13 grubba Exp $    *    * Master-file for Pike.    *
262:    string fname=pname+ext;      #ifdef THREADED -  object key=compilation_mutex->lock(2); +  object key; +  // FIXME: The catch is needed, since we might be called in +  // a context when threads are disabled. +  // (compile() disables threads). +  catch { +  key=compilation_mutex->lock(2); +  };   #endif      #ifdef PIKE_AUTORELOAD