Re: fork



On Thu, 17 Aug 2000, Matt Goodall wrote:

> Vlad Harchev wrote:
> > 
> > On Thu, 17 Aug 2000, Denis Serebro wrote:
> > 
> >  Hi,
> > 
> > >
> > >       Hello, All.
> > >
> > >     I try create a child process in gtk application. And I try create new window with type GTK_TOPLEVEL_WINDOW in child process.
> > >    And I get very strange behaviour. When I try change window size or position or something else, I get on console:
> > 
> >  Gtk wasn't supposed to be used this way. Also it's not thread-safe. Use a
> > different approach.
> 
> It **is** thread safe. Read section 5.2 of the GTK+ FAQ.

  I try compile code from section 5.2 with small modifications and I get:

  /tmp/cc3m4UVu.o: In function `main':
  /tmp/cc3m4UVu.o(.text+0xc): undefined reference to `g_thread_init'
  collect2: ld returned 1 exit status

-- 
 Best regards,
  -Denis






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]