Re: two processes

Search this archive.

From: Matan Ziv-Av (matan@svgalib.org)
Date: Fri 09 Mar 2001 - 22:27:28 IST


On Tue, 6 Mar 2001, Craig Qu wrote:

> Is it possible that two processes work at same time with svgalib?
> For example, draw some lines in parent process and draw more lines to the
> same terminal in a child process?

Not easily. You could use svgalib to set a linear memory mode in one
process, and then mmap tthe physical memory from /dev/mem (or
/dev/svga) in the other process. With threads it is easier, but svgalib
has no threads support, so it is your responsibility to make sure the
two threads do not conflict.


-- 
Matan Ziv-Av.                         matan@svgalib.org


------------------------------------------------------------------
Unsubscribe:  To:   listbot@svgalib.org
              Body: unsubscribe linux-svgalib


This archive was generated by hypermail 2.1.4 : Wed 21 Jan 2004 - 22:10:23 IST