Changeset ae4f748f95e4a064e382380835f765eee814093f
- Timestamp:
- 12/22/07 14:06:33
(9 months ago)
- Author:
- Rémi Denis-Courmont <rem@videolan.org>
- git-committer:
- Rémi Denis-Courmont <rem@videolan.org> 1198328793 +0000
- git-parent:
[a09bcae31bb485524dfb6fe02853da520b1f3273]
- git-author:
- Rémi Denis-Courmont <rem@videolan.org> 1198328793 +0000
- Message:
Pierre writes too good code. We need to kludge it :(
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| ra09bcae |
rae4f748 |
|
| 544 | 544 | |
|---|
| 545 | 545 | /* read SAP packets */ |
|---|
| 546 | | while( !p_sd->b_die ) |
|---|
| | 546 | while( vlc_object_alive( p_sd ) ) |
|---|
| 547 | 547 | { |
|---|
| 548 | 548 | unsigned n = p_sd->p_sys->i_fd; |
|---|
| … | … | |
| 555 | 555 | ufd[i].revents = 0; |
|---|
| 556 | 556 | } |
|---|
| | 557 | |
|---|
| | 558 | /* FIXME: remove this stupid evil hack when we have sorted out how to |
|---|
| | 559 | * to cancel threads while doing network I/O */ |
|---|
| | 560 | if (timeout > 2000) |
|---|
| | 561 | timeout = 2000; |
|---|
| 557 | 562 | |
|---|
| 558 | 563 | if (poll (ufd, n, timeout) > 0) |
|---|