-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

В Пн, 01/10/2018 в 09:41 +0200, Armin Novak via FreeRDP-devel пишет:
> Look at the sample client:
> 
> nCount = freerdp_get_event_handles(instance->context, &handles[0],
> 64);
> status = WaitForMultipleObjects(nCount, handles, FALSE, 100);
> 
> freerdp_check_event_handles(instance->context)
> 
> 
> That basically collects all event sources and waits for an object to
> trigger.
> 
> (Note, if you want to reduce the load, make the 100ms timeout
> INFINITE)
> 
> Handling the events is done by freerdp_check_event_handles
> 
> 
> best
> 
> Armin
> 
> 
> On 10/1/18 9:25 AM, Alexandr via FreeRDP-devel wrote:
> > В Пн, 01/10/2018 в 09:04 +0200, Armin Novak via FreeRDP-devel
> > пишет:
> > > Hi Alexandr,
> > > currently there are no dynamic changes of handles (note, the
> > > *_fds
> > > functions are deprecated just as the dfreerdp client - due to
> > > lack of
> > > a
> > > maintainer)
> > > but that might change therefore the process is repeated before
> > > each
> > > wait.
> > > best
> > > Armin
> > > On 9/29/18 1:30 AM, Alexandr via FreeRDP-devel wrote:
> > > > hi all.
> > > > in "client/DirectFB/dfreerdp.c" i found what "freerdp_get_fds"
> > > > and
> > > > "freerdp_channels_get_fds" used to get fd's for select, but in
> > > > each
> > > > iteration they called again for new fd's, also i have checked
> > > > under
> > > > debugger, and they does not changing during session.
> > > > My question is it necessary to get new fd's via
> > > > "freerdp_get_fds"
> > > > and
> > > > "freerdp_channels_get_fds" each time after calling
> > > > "freerdp_check_fds"
> > > > and "freerdp_channels_check_fds" or i can get fd's one time
> > > > only ?
> > > > > > > _______________________________________________ >
> > > > > > > FreeRDP-
> > > > > > > devel
> > > mailing list > FreeRDP-devel@lists.sourceforge.net >
> > > https://lists.sourceforge.net/lists/listinfo/freerdp-devel
> > > _______________________________________________
> > > FreeRDP-devel mailing list
> > > FreeRDP-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/freerdp-devel
> > 
> > Understood.
> > So if fd's functions is deprecated, what should i sue instead ?
> > 
> > > > > _______________________________________________ > FreeRDP-
> > > > > devel
> mailing list > FreeRDP-devel@lists.sourceforge.net >
> https://lists.sourceforge.net/lists/listinfo/freerdp-devel
> 
> 
> _______________________________________________
> FreeRDP-devel mailing list
> FreeRDP-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freerdp-devel

nevermind preveous message, i misunderstood you, just too sleepy now,
sorry.

yes freerdp_get_event_handles  is what i need.

thx.
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEWlDDCYMF8IYr2FvNCBybLMY3dFAFAlux12wACgkQCBybLMY3
dFBt2xAA0CaLvYaIc+yQV/+pEM6st/DGuvJ4xsGRX0Beva7qAV6/aQkHex88u6dS
eC01xdyP+x9ewwyt13HgvRjC9IjzAv77ZifO3Ud5/e6cincnYY4hoy8Mf2onM7ZJ
l9ZzT1zA8A7FMnugTPUFeBkrAHupv1ghANpSqCAqr8DZZ3tStrQJmW4okvtIpAgJ
kPVLg2C1QSaZ3rrgomp1puggyPqSCPVWiBWm/xqIaS1p+o3uWmSKbA9e62IzuGxF
wOaORimV77Gxqul91+pzejdIuToaHU+UVWNU7ayaFiLv0jv06QEVhWzsJbDIFX6n
ydupTAuc/aFBr3hsSk0PCtVbP+2/Xh2bOvxrGCf9tHYb/YF8kI5H5/NRcmgdbHrA
ljIrT2A167BVINN5we8Hy4I4Pnu1xsbBlEQ0xZV8O0PSOea2EY0wYhq98un+xxru
AUDkqLozsUYJzK4WDyvsx4hr2Jers55xp+vsMh5Y+s1iCMtvBzXCgLpVExRemfG2
0QJpDUiZDJDuYW0mXkfw8Y0QW/AQvK4DHAzBXwFlvQFK9YpK4ijzzbnqmSxt8XOf
4+YkHKnBWp7lUHTDQwETXEayPROn/dfAd+iDmaweD2sJYNnrkTtOpUSIeXkkQa2r
aR1YNyGwBojw2DhKZmyecFPF77T85dHUGISZTIPxfnk9NmE+VsQ=
=4kFf
-----END PGP SIGNATURE-----



_______________________________________________
FreeRDP-devel mailing list
FreeRDP-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel

Reply via email to