Changeset c5d6f9cf in mainline
- Timestamp:
- 2013-04-05T14:32:53Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f04603e
- Parents:
- 704baed
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/hound/src/client.c
r704baed rc5d6f9cf 54 54 async_exch_t *exch; 55 55 hound_context_t *context; 56 int flags; 56 57 } hound_stream_t; 57 58 … … 215 216 new_stream->format = format; 216 217 new_stream->context = hound; 218 new_stream->flags = flags; 217 219 const int ret = hound_service_stream_enter(new_stream->exch, 218 220 hound->id, flags, format, bsize); … … 230 232 { 231 233 if (stream) { 232 // TODO drain? 234 if (stream->flags & HOUND_STREAM_DRAIN_ON_EXIT) 235 hound_service_stream_drain(stream->exch); 233 236 hound_service_stream_exit(stream->exch); 234 237 async_exchange_end(stream->exch); … … 258 261 assert(hound); 259 262 if (!hound->main.stream) 260 hound->main.stream = hound_stream_create(hound, 0, 261 hound->main.format, hound->main.bsize); 263 hound->main.stream = hound_stream_create(hound, 264 HOUND_STREAM_DRAIN_ON_EXIT,hound->main.format, 265 hound->main.bsize); 262 266 return hound->main.stream; 263 267 }
Note:
See TracChangeset
for help on using the changeset viewer.