[riot-commits] [RIOT-OS/RIOT] 24b21d: net/gcoap: Protect message ID state with atomic up...

Sebastian Meiling s at mlng.net
Mon Jun 19 11:04:51 CEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 24b21dbfbc898573c3743f38ea63d1fb8adf6c76
      https://github.com/RIOT-OS/RIOT/commit/24b21dbfbc898573c3743f38ea63d1fb8adf6c76
  Author: Ken Bannister <kb2ma at runbox.com>
  Date:   2017-06-18 (Sun, 18 Jun 2017)

  Changed paths:
    M sys/include/net/gcoap.h
    M sys/net/application_layer/coap/gcoap.c

  Log Message:
  -----------
  net/gcoap: Protect message ID state with atomic updates.

Also changed semantics for storage of message ID, from last ID to next ID.
This change provides idiomatic use of the return value of the atomic
function, without other side effects on gcoap.


  Commit: aa2f97c80ffeca7d65c9af77b657c1122839f9f8
      https://github.com/RIOT-OS/RIOT/commit/aa2f97c80ffeca7d65c9af77b657c1122839f9f8
  Author: Ken Bannister <kb2ma at runbox.com>
  Date:   2017-06-18 (Sun, 18 Jun 2017)

  Changed paths:
    M sys/include/net/gcoap.h
    M sys/net/application_layer/coap/gcoap.c

  Log Message:
  -----------
  net/gcoap: Protect update to open requests with mutex.


  Commit: cbb23fb588467500dc47c664fdd860c4aaea2edc
      https://github.com/RIOT-OS/RIOT/commit/cbb23fb588467500dc47c664fdd860c4aaea2edc
  Author: Sebastian Meiling <s at mlng.net>
  Date:   2017-06-19 (Mon, 19 Jun 2017)

  Changed paths:
    M sys/include/net/gcoap.h
    M sys/net/application_layer/coap/gcoap.c

  Log Message:
  -----------
  Merge pull request #7121 from kb2ma/gcoap/thread_safety

net/gcoap: Protect internal state for multithreaded use


Compare: https://github.com/RIOT-OS/RIOT/compare/0e7529be7a45...cbb23fb58846


More information about the commits mailing list