[sheepdog] [sheepdog/sheepdog] d47f23: shared lib: fix bug for request/reply thread attri...

Hitoshi Mitake mitake.hitoshi at lab.ntt.co.jp
Fri Sep 25 06:12:48 CEST 2015


  Branch: refs/heads/master
  Home:   https://github.com/sheepdog/sheepdog
  Commit: d47f23549013b4c3e4110df7484b5e776afd9c3d
      https://github.com/sheepdog/sheepdog/commit/d47f23549013b4c3e4110df7484b5e776afd9c3d
  Author: Yu Yang <yuyang at cmss.chinamobile.com>
  Date:   2015-09-25 (Fri, 25 Sep 2015)

  Changed paths:
    M lib/shared/sheep.c

  Log Message:
  -----------
  shared lib: fix bug for request/reply thread attribution

We join those two threads in sd_disconnect(), so they cannot be detached.

Signed-off-by: Yu Yang <yuyang at cmss.chinamobile.com>


  Commit: 702fd396e409bb27aee33bc8b65e32381dde1fcf
      https://github.com/sheepdog/sheepdog/commit/702fd396e409bb27aee33bc8b65e32381dde1fcf
  Author: Yu Yang <yuyang at cmss.chinamobile.com>
  Date:   2015-09-25 (Fri, 25 Sep 2015)

  Changed paths:
    M lib/shared/sheep.c

  Log Message:
  -----------
  shared lib: fix bug for concurrence of user requests

When sd_requests are generated concurrently, maybe more than
one sd_requests arrived in event_fd, and we should handle all
those sd_requests during one thread loop.

Signed-off-by: Yu Yang <yuyang at cmss.chinamobile.com>


  Commit: 3744ee4ad450ea89223d085821b7f505dc9fd2d9
      https://github.com/sheepdog/sheepdog/commit/3744ee4ad450ea89223d085821b7f505dc9fd2d9
  Author: Yu Yang <yuyang at cmss.chinamobile.com>
  Date:   2015-09-25 (Fri, 25 Sep 2015)

  Changed paths:
    M include/util.h

  Log Message:
  -----------
  util: fix bug for sd_cond_wait_timeout()

The timeout parameter of pthread_cond_timedwait() is
the absolutely time. So fix it.

Signed-off-by: Yu Yang <yuyang at cmss.chinamobile.com>


  Commit: 771eacf2f514efc61683aa9e5bfe6fb68b17f286
      https://github.com/sheepdog/sheepdog/commit/771eacf2f514efc61683aa9e5bfe6fb68b17f286
  Author: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
  Date:   2015-09-25 (Fri, 25 Sep 2015)

  Changed paths:
    M include/util.h
    M lib/shared/sheep.c

  Log Message:
  -----------
  Merge branch 'justyu-master'


Compare: https://github.com/sheepdog/sheepdog/compare/2495387f68be...771eacf2f514


More information about the sheepdog mailing list