From nobody Sun Oct 16 01:42:49 2022 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MqjYz2FDwz4gC7s for ; Sun, 16 Oct 2022 01:43:03 +0000 (UTC) (envelope-from yaroslaw.mashko@gmail.com) Received: from mail-vs1-xe2b.google.com (mail-vs1-xe2b.google.com [IPv6:2607:f8b0:4864:20::e2b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MqjYy0j8kz3c9y for ; Sun, 16 Oct 2022 01:43:02 +0000 (UTC) (envelope-from yaroslaw.mashko@gmail.com) Received: by mail-vs1-xe2b.google.com with SMTP id h4so8431556vsr.11 for ; Sat, 15 Oct 2022 18:43:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=MaCtT4as7FRFdf3w3tsISxmw4LAzEl3DX30ABjVsnCM=; b=J5R5HcR8gCilMF+4wkw0wTjpq1NzhPG7UP2eV4masBhsVXxjPzf7XNyQB5IMBEtEPe 5j8jkAT+WNW8RVig4i6FL2vSL653PnfZ+7ZKWI1HIcgSJlKO5YfWGJpbEEXajdLrcLzD 7EuL17reCejX9kzKKk4cBhI06/Elgm44TMxlcDhBQfBfve6Xnr5mX9A65utf++lIbaXU wH8lM52DoA948ec0LPJcIpTve7Wo8OML8xgQudbDFWWmXA9JOfLrLtorvtF2B+eiuYew 3S0fEACFTpb1zqsrhsvFgRXvDgNQfeFIe6O9n7GVGKEcxKWG+njmSsr29Xi9lqEXjnrX f6Tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=MaCtT4as7FRFdf3w3tsISxmw4LAzEl3DX30ABjVsnCM=; b=mkP3YtpMsRugQASWaHO8DmpGGLmUiI0nDcE0KmGgncl8kcSuobrhZR65jDs59bEcpa 1gUREei1f6oltk/nE+bPvwR6nSlcRGjgyu9AlQK6jaB8BoODGuZr2z9fZwhho2ks9ki9 +mXB4i8duDQ2DSlEIZu8VMOWGKmmOCuGcHvgbKOJAjp911DdaDjx00hjirEuV/P0mbna u/kpUTkxwcALkK1aLRzx9QvoW0+ggNBkC2DNJNQEKTqo5UEDfs0ShQxfuxpRHE0KG4OI Qa/7E9vPy+Atx+3LXVV1dsMNUR2ukukO+4RnWzWcvZQdJQRAsmdyOmlqmqf/cXfOPHj/ ucTg== X-Gm-Message-State: ACrzQf0xz+2m1+kDDxxwsRYVslDXyMIbZ+Vla72Z4fMEzEZtOPi0a9Wc pqHZcwBeOHPDKpyGMjOMLm6nZAoj5+i/Lc2fIX3afjQ8D1Rp7g== X-Google-Smtp-Source: AMsMyM5+PkXLKtgk0cXUN7rO5cmI0lyfhWefWf4Jy26JR4efoboRFE60ft93iFLvjtgoC74Meq5TDEnIhsw7+HhS2mQ= X-Received: by 2002:a67:f881:0:b0:3a7:bd44:69b8 with SMTP id h1-20020a67f881000000b003a7bd4469b8mr1794781vso.79.1665884580700; Sat, 15 Oct 2022 18:43:00 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 From: =?UTF-8?B?0K/RgNC+0YHQu9Cw0LIg0JzQsNGI0LrQvg==?= Date: Sun, 16 Oct 2022 04:42:49 +0300 Message-ID: Subject: How can I switch off EV_DISPATCH flag? To: freebsd-questions@freebsd.org Content-Type: multipart/alternative; boundary="000000000000ab66ac05eb1cfa3b" X-Rspamd-Queue-Id: 4MqjYy0j8kz3c9y X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=J5R5HcR8; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of yaroslaw.mashko@gmail.com designates 2607:f8b0:4864:20::e2b as permitted sender) smtp.mailfrom=yaroslaw.mashko@gmail.com X-Spamd-Result: default: False [-2.87 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-0.87)[-0.867]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::e2b:from]; FREEMAIL_FROM(0.00)[gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; DKIM_TRACE(0.00)[gmail.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N --000000000000ab66ac05eb1cfa3b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable This message is my continuation with learning of kqueue mechanics. I did add an event with EV_DISPATCH flag. The filter is EVFILT_TIMER. Now, how can I switch off the flag to a "regular" operation? The combination of EV_ADD | EV_ENABLE flags do leave EV_DISPATCH bit set. --=20 =D0=AF=D1=80=D0=BE=D1=81=D0=BB=D0=B0=D0=B2 =D0=9C=D0=B0=D1=88=D0=BA=D0=BE +380 50 56 75 347 <+380+50+56+75+347> --000000000000ab66ac05eb1cfa3b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
This message is my continuation with learning of kque= ue mechanics. I did add an event with EV_DISPATCH flag.
The = filter is EVFILT_TIMER. Now, how can I switch off the flag to a "regul= ar" operation? The combination of EV_ADD | EV_ENABLE flags do leave EV= _DISPATCH bit set.

--
=D0=AF=D1=80=D0=BE=D1=81=D0=BB= =D0=B0=D0=B2 =D0=9C=D0=B0=D1=88=D0=BA=D0=BE
--000000000000ab66ac05eb1cfa3b--