From owner-freebsd-hackers@freebsd.org Sat Jan 23 21:57:40 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 26BB2A8FB1B for ; Sat, 23 Jan 2016 21:57:40 +0000 (UTC) (envelope-from radovanovic@gmail.com) Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com [IPv6:2a00:1450:400c:c09::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B303D163D for ; Sat, 23 Jan 2016 21:57:39 +0000 (UTC) (envelope-from radovanovic@gmail.com) Received: by mail-wm0-x232.google.com with SMTP id b14so29046715wmb.1 for ; Sat, 23 Jan 2016 13:57:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=2FEjz0se6c9cKpOJeEzfYlHSsoV9rQDhyXytJYARA+s=; b=ITm6sXvV2d3QJr7cGseLxXQ/zuJtg2AM0zkfxfrlhdBSFP+4n4NG82aNcsEvpMtcgT ExMW649RgYvLEJnoVj7RVRmi4JqOCQtyt6lCye8qPiocQMfjb/IujOPTwdFqcJHkUbUM PCf/6GYowFpnK+xSJP2fmunZhkL1m9APM36PXHWP0m9k19BlY6pYpsTPrWJYW5UV+712 jd0DwPLAtW3/dBENKKMbol293tPVa3pvvV7VLxZHBZ+0UO5S30EhYDNyDcGnLXP6wdns QIO2HVLVQzo19rLXRLlhVB8A/mgERhl2JU8QZOcKoyOxqP1CvLAuPllnrbabeWl8Y9S9 tYVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=2FEjz0se6c9cKpOJeEzfYlHSsoV9rQDhyXytJYARA+s=; b=aupEVWMGLfVk/jR94SX5Hax9ScnfJqzUsDL02UAMczkYJn7HA8ALShBmAEZkrBE7ee waTgiH20BA8qw6p0EwmE2FWkYcT2bkNz5c8uLdUkEpPAydN9y0ORrrBY/5/ZDgHcJ0cM oEqmC8GLYg5QD4jeq8gzjRYAopIXQXrigRfl99wIyngl5I4eGhGPAGWE92XdCbiH+DOh RXHatTX0KutztUZ0iXi4Spt2VwKZtlVHGnO9xL1JFkYPWjLmAvqX8vxddZCLvxiC9fKG Z2oU5ubJyRl3d9ymPgf36ALe6E0Xq09Rpy2MdEsKSdAtxz34+Z8PaQyE51pVhrPoI73U 4MiQ== X-Gm-Message-State: AG10YOTP+uaWYPmoYksRw7nYWDN5LEHc69g6lNLqg0ZUG0WUnf/JVYC9ofR982bSFK83mQ== X-Received: by 10.194.20.5 with SMTP id j5mr9535902wje.71.1453586258300; Sat, 23 Jan 2016 13:57:38 -0800 (PST) Received: from azdaja.softwarehood.com ([46.240.236.6]) by smtp.gmail.com with ESMTPSA id u4sm11946274wjz.4.2016.01.23.13.57.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 23 Jan 2016 13:57:37 -0800 (PST) Subject: Re: Unexpected (at least to me) kevent behavior on window size change when in X To: Slawa Olhovchenkov References: <56A3EDEE.1030400@gmail.com> <56A3F404.7020800@gmail.com> <20160123215231.GO88527@zxy.spb.ru> Cc: freebsd-hackers@FreeBSD.org From: Ivan Radovanovic Message-ID: <56A3F750.6060405@gmail.com> Date: Sat, 23 Jan 2016 22:57:36 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <20160123215231.GO88527@zxy.spb.ru> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2016 21:57:40 -0000 On 01/23/2016 22:52, Slawa Olhovchenkov wrote: > On Sat, Jan 23, 2016 at 10:43:32PM +0100, Ivan Radovanovic wrote: > >> On 01/23/2016 22:17, Ivan Radovanovic wrote: >>> >>> The only thing which is out of ordinary is that I am doing this from >>> mono, but still I am directly invoking libc functions from it, so I >>> don't think it can have anything with it. >>> >> >> Definitely it is something mono specific (I would still love to hear if >> somebody has idea what might cause it) - I just wrote little C program >> to test for same thing and everything works as expected. > > May be this is mono mapping EINTR to 0? > I thought something similar, but wouldn't then C also report EINTR on resize (and there is nothing coming through in C program, it just normally waits for FS event)?