9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: William Josephson <jkw@eecs.harvard.edu>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] drawterm / linux
Date: Thu,  8 Nov 2001 23:50:06 -0500	[thread overview]
Message-ID: <20011108235006.A64525@honk.eecs.harvard.edu> (raw)
In-Reply-To: <200111090432.fA94WZc10106@fywss.com>; from steve@fywss.com on Thu, Nov 08, 2001 at 11:32:34PM -0500

On Thu, Nov 08, 2001 at 11:32:34PM -0500, Steve Kotsopoulos wrote:
> This sounds like the problem that you hit when running a linux 2.4 series
> kernel, caused by the 'thread switch hack' not working with that kernel.
>
> Has anyone solved this? [not sure if rob's suggestion of
> statically-linking was taking the above into account or not]

You'd have to ask Russ to be sure, but I think it is fixed in
drawterm2k.  Isn't there a distributed version that uses pthreads?  If
not, it is a relatively trivial amount of work to get the drawterm
threads to run on top of pthreads.  I thought that was how the public
version works under FreeBSD and Windows anyway.  You can also replace
the pipe-lock hack with sleep/wakeup on top of pthreads, although for
drawterm I doubt the difference would be noticeable.  (It is for
things like McIlroy's squint, which is what I use to test my Unix port
of the Plan 9 thread library).

 -WJ


  reply	other threads:[~2001-11-09  4:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-09  4:06 Reynald AFFELDT
2001-11-09  4:32 ` Steve Kotsopoulos
2001-11-09  4:50   ` William Josephson [this message]
2001-11-09 15:06     ` William Josephson
2001-11-12 10:33       ` Thomas Bushnell, BSG
2001-11-09 13:53   ` Ish Rattan
2001-11-09  4:35 ` Steve Kotsopoulos
2001-11-09  4:52   ` Reynald AFFELDT
2001-11-09  4:11 rob pike
2001-11-09 22:18 David Gordon Hogan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011108235006.A64525@honk.eecs.harvard.edu \
    --to=jkw@eecs.harvard.edu \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).