<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div dir="auto">
<div><br>
<div class="gmail_extra"><br>
<div class="gmail_quote">24 июля 2017 г. 7:04 PM пользователь Kirill Gorkunov <gorcunov@virtuozzo.com> написал:<br type="attribution">
<blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><font size="2"><span style="font-size:10pt">
<div>On Mon, Jul 24, 2017 at 06:52:31PM +0300, Stanislav Kinsburskiy wrote:<br>
> <br>
> >> int join_ve(pid_t pid, bool veX)<br>
> > <br>
> > Does pid have to be 0 in this case?<br>
> > <br>
> <br>
> Maybe interface to this helper should be reworked? <br>
<br>
In criu/cr_restore.c<br>
<br>
#define join_veX(pid) join_ve(pid, true)<br>
#define join_ve0(pid) join_ve(pid, false)<br>
</div>
</span></font></div>
</blockquote>
</div>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">Well, no. I don't like this defines.</div>
<div dir="auto">And I don't think that pid has to be explicitly provided. At least for ve0.</div>
<div dir="auto">But frankly, I don't want to do it anyways.</div>
<div dir="auto"><br>
</div>
<div dir="auto">
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><font size="2"><span style="font-size:10pt">
<div><br>
Just move it to the header, and that;s all<br>
<br>
Cyrill<br>
</div>
</span></font></div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</body>
</html>