diff options
| author | Elliott Hughes <enh@google.com> | 2010-03-11 18:10:42 -0800 |
|---|---|---|
| committer | Elliott Hughes <enh@google.com> | 2010-03-11 18:10:42 -0800 |
| commit | 96c564ad382a6e69672ddb990eb6585f21541f07 (patch) | |
| tree | fe1322e935b7bde8eccd4ec20d77461c1f565c29 /vm/compiler/codegen/arm/CodegenDriver.c | |
| parent | 9ce4e8161d8e4db697aaab15570d9ef518779395 (diff) | |
Use ioctl(FIONREAD) rather than recv(MSG_PEEK) to implement Socket.available.
As well as avoiding unnecessary work, this also means we can reuse the native
code we already have for ioctl(FIONREAD), though we need to change the
interface to take FileDescriptor rather than int, and extract the int on the
native side.
Change-Id: I4c6d9e4e72e514e3e7872c7f882bda5441059915
Diffstat (limited to 'vm/compiler/codegen/arm/CodegenDriver.c')
0 files changed, 0 insertions, 0 deletions
