aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2010-02-01 06:30:47 +0000
committerAnders Broman <anders.broman@ericsson.com>2010-02-01 06:30:47 +0000
commiteca27931e091a1501ad84a8c95beac0322dce069 (patch)
tree3e5a431919be5b650b721d539ad00f548d93c248 /file.c
parentcb1f3e6986c5085fd52e1080655e21d117cd5a45 (diff)
Don't freeze/thaw the list when doing live captures.
svn path=/trunk/; revision=31748
Diffstat (limited to 'file.c')
-rw-r--r--file.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/file.c b/file.c
index 5dca17830b..b8c46a7bb1 100644
--- a/file.c
+++ b/file.c
@@ -122,7 +122,7 @@ static void ref_time_packets(capture_file *cf);
#endif
/* Update the progress bar this many times when reading a file. */
#define N_PROGBAR_UPDATES 100
-/* We read around 200k/100ms domt update the progress bar more often than that */
+/* We read around 200k/100ms don't update the progress bar more often than that */
#define MIN_QUANTUM 200000
#define MIN_NUMBER_OF_PACKET 1500
@@ -792,7 +792,8 @@ cf_continue_tail(capture_file *cf, volatile int to_read, int *err)
#ifdef NEW_PACKET_LIST
new_packet_list_check_end();
- new_packet_list_freeze();
+ /* Don't freeze/thaw the list when doing live capture */
+ /*new_packet_list_freeze();*/
#else
packet_list_check_end();
packet_list_freeze();
@@ -838,7 +839,8 @@ cf_continue_tail(capture_file *cf, volatile int to_read, int *err)
/* Sleep(100); */
};
#ifdef NEW_PACKET_LIST
- new_packet_list_thaw();
+ /* Don't freeze/thaw the list when doing live capture */
+ /*new_packet_list_thaw();*/
#else
packet_list_thaw();
#endif
@@ -857,7 +859,8 @@ cf_continue_tail(capture_file *cf, volatile int to_read, int *err)
cf->count, cf->state, *err);*/
#ifdef NEW_PACKET_LIST
- new_packet_list_thaw();
+ /* Don't freeze/thaw the list when doing live capture */
+ /*new_packet_list_thaw();*/
/* With the new packet list the first packet
* isn't automatically selected.
*/