Gtkmm and fork()



Hi. 
I have that code:

void MainWindow::on_ok_clicked()
{
   pid_t pid = fork(); // There is an error
   switch (pid)
   {
//...
   }
}

When I compiled program the gtkmm returns:
Mer: ../../src/xcb_io.c:249: process_responses: Assertion `(((long)
(dpy->last_request_read) - (long) (dpy->request)) <= 0)' failed.
Mer: ../../src/xcb_io.c:249: process_responses: Assertion `(((long)
(dpy->last_request_read) - (long) (dpy->request)) <= 0)' failed.
Aborted (core dumped)


-- 
View this message in context: http://old.nabble.com/Gtkmm-and-fork%28%29-tp28197014p28197014.html
Sent from the Gtkmm mailing list archive at Nabble.com.



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