Megatest

Diff
Login

Differences From Artifact [d947cae5df]:

To Artifact [300827d21b]:


279
280
281
282
283
284
285
286


287
288
289
290
291
292
293
279
280
281
282
283
284
285

286
287
288
289
290
291
292
293
294







-
+
+







		     (api:queue-run-one)
		     (thread-sleep! 0.1)
		     (loop)))))
    (let loop ((thnum 0))
      (thread-start! (make-thread thproc (conc "queue-thread-" thnum)))
      (thread-sleep! 0.05)
      (if (< thnum 20)
	  (loop (+ thnum 1))))))
	  (loop (+ thnum 1))
	  (debug:print 0 *default-log-port* "Started "thnum" api threads")))))

(define (api:tcp-dispatch-request-make-handler-core dbstruct api:dispatch-request)
  (assert *toppath* "FATAL: api:tcp-dispatch-request-make-handler called but *toppath* not set.")
  (if (not *server-signature*)
      (set! *server-signature* (tt:mk-signature *toppath*)))
  (lambda (indat)
    (let* ((outer-proc (lambda (cmd run-id params)