-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Wolfgang Grandegger wrote:
> Marc Kleine-Budde wrote:
>>> retry:
>>> ret = write(s, &frame, sizeof(struct can_frame));
>>> if (ret < 0) {
>>> if (errno == ENOBUFS) {
>>> sched_yield();
>> better use something like poll/select/epoll here...
>
> Right, but Paul and Christian are obviously figthing with another problem.
ACK
Marc
- --
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAktm0YcACgkQjTAFq1RaXHOVIwCfSyS1DselBu0bIO3/S8WF05ZB
/sMAnjSgmBIeLlnxEgVVE5GizBxGES/K
=9L3D
-----END PGP SIGNATURE-----
_______________________________________________
Socketcan-core mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-core