- My goal is: [The return value of select is always 0]
- My actions are: [The mongoose6.14 library that I call is packaged as a * .a file. The program runs normally on the mobile terminal of the iOS mobile phone. The program does not exit, but just turns off the screen and then opens to continue the operation. The return value of select is always 1 (, and the CPU usage exceeds 100%.Phone hot]
- The result I see is: [
2019-12-20 10:43:48.473366+0800 KouyuDemo[268:8783] ===>init params:{ "appKey" : "17KouyuTestAppKey", "secretKey" : "", "provision" : "\/var\/containers\/Bundle\/Application\/CB5F3EB7-6D30-404D-9C71-8A700439278D\/KouyuDemo.app\/STKouyuEngine.bundle\/skegn.provision", "cloud" : { "enable" : 1, "server" : "ws:\/\/192.168.0.12:8090" }, "sdkLog" : { "enable" : 1, "level" : 3, "output" : "\/var\/mobile\/Containers\/Data\/Application\/22D88199-3B67-4BEC-85B6-17A066590041\/Documents\/sdkLog.txt" } } 2019-12-20 10:43:48.484564+0800 KouyuDemo[268:8783] 初始化引擎是否成功? - 1 select == num_ev= 0, timeout=1 2019-12-20 10:43:48.633177+0800 KouyuDemo[268:8644] [Gyro] Manually set gyro-interrupt-calibration to 200 select == num_ev= 0, timeout=1 select == num_ev= 0, timeout=1 select == num_ev= 0, timeout=1 ....... select == num_ev= 0, timeout=1 2019-12-20 10:43:55.281862+0800 KouyuDemo[268:8644] start params:{ "app" : { "userId" : "user-id" }, "soundIntensityEnable" : 1, "audio" : { "sampleBytes" : 2, "max_ogg_delay" : 9600, "channel" : 1, "sampleRate" : 16000, "audioType" : "wav" }, "request" : { "realtime_feedback" : 1, "mode" : "school", "phoneme_output" : 1, "dict_type" : "KK", "qType" : 0, "refText" : "You mean a lot to me.", "coreType" : "sent.eval" }, "coreProvideType" : "cloud" } select == num_ev= 1, timeout=1 send_buf========\200X-\200===nc->send_buf.len======146 send_buf========\200X-\200===nc->send_buf.len======171 send_buf========\200X-\200===nc->send_buf.len======204 send_buf========\200X-\200===nc->send_buf.len======206 send_buf========\260\271\206===nc->send_buf.len======249 select == num_ev= 1, timeout=3 send_buf========@\325\346\202===nc->send_buf.len======33 select == num_ev= 1, timeout=3 send_buf========
cv===nc->send_buf.len======249
select == num_ev= 1, timeout=4
send_buf========@\333\346\202===nc->send_buf.len======33
select == num_ev= 1, timeout=4
send_buf========\360$\205===nc->send_buf.len======249
select == num_ev= 1, timeout=5
send_buf========\300\322\346\202===nc->send_buf.len======33
send_buf========\200Ɲ\203===nc->send_buf.len======4
send_buf========\200Ɲ\203===nc->send_buf.len======8
send_buf========\360fv===nc->send_buf.len======284
send_buf========\360fv===nc->send_buf.len======288
send_buf========\360fv===nc->send_buf.len======292
send_buf===========nc->send_buf.len======816
event->send_buf======================,event->send_buf->data_len===============104
send_buf===========nc->send_buf.len======818
send_buf===========nc->send_buf.len======822
send_buf===========nc->send_buf.len======926
select == num_ev= 1, timeout=5
select == num_ev= 1, timeout=5
select == num_ev= 1, timeout=5
select == num_ev= 1, timeout=6
select == num_ev= 1, timeout=6
select == num_ev= 1, timeout=5
select == num_ev= 1, timeout=6
select == num_ev= 1, timeout=5
select == num_ev= 1, timeout=5
select == num_ev= 1, timeout=5
select == num_ev= 1, timeout=5
select == num_ev= 0, timeout=5
select == num_ev= 0, timeout=5
select == num_ev= 0, timeout=5
2019-12-20 10:43:55.791435+0800 KouyuDemo[268:8644] skegn_callback:598502635.791415
2019-12-20 10:43:55.791715+0800 KouyuDemo[268:8644] callback result:{“timestamp”:“2019-12-20 10:43:55:246”,“eof”:0,“recordId”:“5dfc356b098f6b1f5e0056a9”,“result”:{}}
2019-12-20 10:43:55.791845+0800 KouyuDemo[268:8644] result - {“timestamp”:“2019-12-20 10:43:55:246”,“eof”:0,“recordId”:“5dfc356b098f6b1f5e0056a9”,“result”:{}}
select == num_ev= 0, timeout=5
select == num_ev= 0, timeout=5
select == num_ev= 1, timeout=5
2019-12-20 10:43:55.949402+0800 KouyuDemo[268:8644] skegn_callback:598502635.949377
2019-12-20 10:43:55.949617+0800 KouyuDemo[268:8644] result - {“sound_intensity”: 0.000000}
select == num_ev= 1, timeout=5
2019-12-20 10:43:56.004172+0800 KouyuDemo[268:8644] skegn_callback:598502636.004148
2019-12-20 10:43:56.004443+0800 KouyuDemo[268:8644] result - {“sound_intensity”: 9.000000}
select == num_ev= 0, timeout=5
send_buf========\360՝\203===nc->send_buf.len======4
send_buf========\360՝\203===nc->send_buf.len======8
send_buf===========nc->send_buf.len======475
select == num_ev= 1, timeout=5
select == num_ev= 1, timeout=5
2019-12-20 10:43:56.140413+0800 KouyuDemo[268:8644] skegn_callback:598502636.140390
2019-12-20 10:43:56.140638+0800 KouyuDemo[268:8644] result - {“sound_intensity”: 13.000000}
select == num_ev= 1, timeout=5
2019-12-20 10:43:56.160869+0800 KouyuDemo[268:8644] skegn_callback:598502636.160843
2019-12-20 10:43:56.161134+0800 KouyuDemo[268:8644] callback result:{“timestamp”:“2019-12-20 10:43:56:45”,“eof”:0,“recordId”:“5dfc356b098f6b1f5e0056a9”,“result”:{}}
2019-12-20 10:43:56.161262+0800 KouyuDemo[268:8644] result - {“timestamp”:“2019-12-20 10:43:56:45”,“eof”:0,“recordId”:“5dfc356b098f6b1f5e0056a9”,“result”:{}}
select == num_ev= 1, timeout=5
2019-12-20 10:43:56.204908+0800 KouyuDemo[268:8644] skegn_callback:598502636.204877
2019-12-20 10:43:56.205173+0800 KouyuDemo[268:8644] result - {“sound_intensity”: 11.000000}
select == num_ev= 0, timeout=5
send_buf========\360՝\203===nc->send_buf.len======4
send_buf========\360՝\203===nc->send_buf.len======8
send_buf===========nc->send_buf.len======839
select == num_ev= 1, timeout=5
select == num_ev= 1, timeout=5
2019-12-20 10:43:56.321434+0800 KouyuDemo[268:8644] skegn_callback:598502636.321411
2019-12-20 10:43:56.321805+0800 KouyuDemo[268:8644] result - {“sound_intensity”: 9.000000}
select == num_ev= 1, timeout=5
2019-12-20 10:43:56.331169+0800 KouyuDemo[268:8644] skegn_callback:598502636.331145
2019-12-20 10:43:56.331401+0800 KouyuDemo[268:8644] callback result:{“timestamp”:“2019-12-20 10:43:56:218”,“eof”:0,“recordId”:“5dfc356b098f6b1f5e0056a9”,“result”:{}}
2019-12-20 10:43:56.331491+0800 KouyuDemo[268:8644] result - {“timestamp”:“2019-12-20 10:43:56:218”,“eof”:0,“recordId”:“5dfc356b098f6b1f5e0056a9”,“result”:{}}
select == num_ev= 1, timeout=5
2019-12-20 10:43:56.390830+0800 KouyuDemo[268:8644] skegn_callback:598502636.390806
2019-12-20 10:43:56.391056+0800 KouyuDemo[268:8644] result - {“sound_intensity”: 8.000000}
select == num_ev= 0, timeout=5
send_buf========P\235\203===nc->send_buf.len======4
send_buf========P\235\203===nc->send_buf.len======8
send_buf===========nc->send_buf.len======770
select == num_ev= 1, timeout=5
select == num_ev= 1, timeout=5
2019-12-20 10:43:56.506293+0800 KouyuDemo[268:8644] skegn_callback:598502636.506270
2019-12-20 10:43:56.506655+0800 KouyuDemo[268:8644] result - {“sound_intensity”: 6.000000}
select == num_ev= 1, timeout=5
2019-12-20 10:43:56.536008+0800 KouyuDemo[268:8644] skegn_callback:598502636.535984
2019-12-20 10:43:56.536382+0800 KouyuDemo[268:8644] callback result:{“timestamp”:“2019-12-20 10:43:56:422”,“eof”:0,“recordId”:“5dfc356b098f6b1f5e0056a9”,“result”:{}}
2019-12-20 10:43:56.536545+0800 KouyuDemo[268:8644] result - {“timestamp”:“2019-12-20 10:43:56:422”,“eof”:0,“recordId”:“5dfc356b098f6b1f5e0056a9”,“result”:{}}
select == num_ev= 1, timeout=5
2019-12-20 10:43:56.552873+0800 KouyuDemo[268:8644] skegn_callback:598502636.552849
2019-12-20 10:43:56.553112+0800 KouyuDemo[268:8644] result - {“sound_intensity”: 6.000000}
select == num_ev= 0, timeout=5
send_buf========P\235\203===nc->send_buf.len======4
send_buf========P\235\203===nc->send_buf.len======8
send_buf===========nc->send_buf.len======785
select == num_ev= 1, timeout=5
select == num_ev= 1, timeout=5
2019-12-20 10:43:56.675094+0800 KouyuDemo[268:8644] skegn_callback:598502636.675066
2019-12-20 10:43:56.675417+0800 KouyuDemo[268:8644] callback result:{“timestamp”:“2019-12-20 10:43:56:560”,“eof”:0,“recordId”:“5dfc356b098f6b1f5e0056a9”,“result”:{}}
2019-12-20 10:43:56.675627+0800 KouyuDemo[268:8644] result - {“timestamp”:“2019-12-20 10:43:56:560”,“eof”:0,“recordId”:“5dfc356b098f6b1f5e0056a9”,“result”:{}}
select == num_ev= 1, timeout=5
2019-12-20 10:43:56.692369+0800 KouyuDemo[268:8644] skegn_callback:598502636.692344
2019-12-20 10:43:56.692647+0800 KouyuDemo[268:8644] result - {“sound_intensity”: 1.000000}
select == num_ev= 1, timeout=5
2019-12-20 10:43:56.771276+0800 KouyuDemo[268:8644] skegn_callback:598502636.771244
2019-12-20 10:43:56.771676+0800 KouyuDemo[268:8644] result - {“sound_intensity”: 11.000000}
select == num_ev= 0, timeout=5
send_buf========P\235\203===nc->send_buf.len======4
send_buf========P\235\203===nc->send_buf.len======8
send_buf===========nc->send_buf.len======690
select == num_ev= 2, timeout=5
2019-12-20 10:43:56.892821+0800 KouyuDemo[268:8644] skegn_callback:598502636.892778
2019-12-20 10:43:56.893511+0800 KouyuDemo[268:8644] result - {“sound_intensity”: 6.000000}
select == num_ev= 1, timeout=5
2019-12-20 10:43:56.936434+0800 KouyuDemo[268:8644] skegn_callback:598502636.936395
2019-12-20 10:43:56.936964+0800 KouyuDemo[268:8644] callback result:{“timestamp”:“2019-12-20 10:43:56:812”,“eof”:0,“recordId”:“5dfc356b098f6b1f5e0056a9”,“result”:{}}
2019-12-20 10:43:56.937287+0800 KouyuDemo[268:8644] result - {“timestamp”:“2019-12-20 10:43:56:812”,“eof”:0,“recordId”:“5dfc356b098f6b1f5e0056a9”,“result”:{}}
select == num_ev= 1, timeout=5
2019-12-20 10:43:56.954684+0800 KouyuDemo[268:8644] skegn_callback:598502636.954659
2019-12-20 10:43:56.954975+0800 KouyuDemo[268:8644] result - {“sound_intensity”: 9.000000}
select == num_ev= 0, timeout=5
send_buf========@ҝ\203===nc->send_buf.len======4
send_buf========@ҝ\203===nc->send_buf.len======8
send_buf===========nc->send_buf.len======833
select == num_ev= 1, timeout=5
select == num_ev= 1, timeout=5
2019-12-20 10:43:57.086761+0800 KouyuDemo[268:8644] skegn_callback:598502637.086737
2019-12-20 10:43:57.086999+0800 KouyuDemo[268:8644] result - {“sound_intensity”: 2.000000}
select == num_ev= 1, timeout=5
select == num_ev= 1, timeout=5
2019-12-20 10:43:57.137730+0800 KouyuDemo[268:8644] skegn_callback:598502637.137567
2019-12-20 10:43:57.137966+0800 KouyuDemo[268:8644] result - {“sound_intensity”: 0.000000}
send_buf========@ҝ\203===nc->send_buf.len======4
send_buf========@ҝ\203===nc->send_buf.len======8
send_buf===========nc->send_buf.len======751
2019-12-20 10:43:57.142874+0800 KouyuDemo[268:8644] skegn_callback:598502637.142838
2019-12-20 10:43:57.143117+0800 KouyuDemo[268:8644] callback result:{“timestamp”:“2019-12-20 10:43:56:995”,“eof”:0,“recordId”:“5dfc356b098f6b1f5e0056a9”,“result”:{“kernel_version”:“4.2.3”,“words”:[{“charType”:0,“scores”:{“pronunciation”:77},“word”:“You”},{“charType”:0,“scores”:{“pronunciation”:67},“word”:“mean”},{“charType”:0,“scores”:{“pronunciation”:34},“word”:“a”},{“charType”:0,“scores”:{“pronunciation”:64},“word”:“lot”}],“resource_version”:“2.2.3”}}
2019-12-20 10:43:57.143213+0800 KouyuDemo[268:8644] result - {“timestamp”:“2019-12-20 10:43:56:995”,“eof”:0,“recordId”:“5dfc356b098f6b1f5e0056a9”,“result”:{“kernel_version”:“4.2.3”,“words”:[{“charType”:0,“scores”:{“pronunciation”:77},“word”:“You”},{“charType”:0,“scores”:{“pronunciation”:67},“word”:“mean”},{“charType”:0,“scores”:{“pronunciation”:34},“word”:“a”},{“charType”:0,“scores”:{“pronunciation”:64},“word”:“lot”}],“resource_version”:“2.2.3”}}
select == num_ev= 1, timeout=5
select == num_ev= 1, timeout=5
2019-12-20 10:43:57.163874+0800 KouyuDemo[268:8644] skegn_callback:598502637.163854
2019-12-20 10:43:57.164083+0800 KouyuDemo[268:8644] callback result:{“timestamp”:“2019-12-20 10:43:57:40”,“eof”:0,“recordId”:“5dfc356b098f6b1f5e0056a9”,“result”:{“kernel_version”:“4.2.3”,“words”:[{“charType”:0,“scores”:{“pronunciation”:77},“word”:“You”},{“charType”:0,“scores”:{“pronunciation”:67},“word”:“mean”},{“charType”:0,“scores”:{“pronunciation”:34},“word”:“a”},{“charType”:0,“scores”:{“pronunciation”:64},“word”:“lot”}],“resource_version”:“2.2.3”}}
2019-12-20 10:43:57.164204+0800 KouyuDemo[268:8644] result - {“timestamp”:“2019-12-20 10:43:57:40”,“eof”:0,“recordId”:“5dfc356b098f6b1f5e0056a9”,“result”:{“kernel_version”:“4.2.3”,“words”:[{“charType”:0,“scores”:{“pronunciation”:77},“word”:“You”},{“charType”:0,“scores”:{“pronunciation”:67},“word”:“mean”},{“charType”:0,“scores”:{“pronunciation”:34},“word”:“a”},{“charType”:0,“scores”:{“pronunciation”:64},“word”:“lot”}],“resource_version”:“2.2.3”}}
select == num_ev= 0, timeout=5
select == num_ev= 1, timeout=5
2019-12-20 10:43:57.272519+0800 KouyuDemo[268:8644] skegn_callback:598502637.272494
2019-12-20 10:43:57.272863+0800 KouyuDemo[268:8644] result - {“sound_intensity”: 0.000000}
2019-12-20 10:43:57.321316+0800 KouyuDemo[268:8644] nskegn_stop:598502637.321294
select == num_ev= 1, timeout=5
select == num_ev= 0, timeout=5
send_buf========\340]\235\203===nc->send_buf.len======4
send_buf========\340]\235\203===nc->send_buf.len======8
send_buf========Mv===nc->send_buf.len======646 send_buf========
Mv===nc->send_buf.len======648
send_buf========Mv===nc->send_buf.len======652 send_buf========
Mv===nc->send_buf.len======652
select == num_ev= 1, timeout=5
select == num_ev= 1, timeout=5
2019-12-20 10:43:57.462904+0800 KouyuDemo[268:8644] skegn_callback:598502637.462879
2019-12-20 10:43:57.463198+0800 KouyuDemo[268:8644] callback result:{“timestamp”:“2019-12-20 10:43:57:354”,“eof”:0,“recordId”:“5dfc356b098f6b1f5e0056a9”,“result”:{“kernel_version”:“4.2.3”,“words”:[{“charType”:0,“scores”:{“pronunciation”:77},“word”:“You”},{“charType”:0,“scores”:{“pronunciation”:67},“word”:“mean”},{“charType”:0,“scores”:{“pronunciation”:34},“word”:“a”},{“charType”:0,“scores”:{“pronunciation”:64},“word”:“lot”}],“resource_version”:“2.2.3”}}
2019-12-20 10:43:57.463359+0800 KouyuDemo[268:8644] result - {“timestamp”:“2019-12-20 10:43:57:354”,“eof”:0,“recordId”:“5dfc356b098f6b1f5e0056a9”,“result”:{“kernel_version”:“4.2.3”,“words”:[{“charType”:0,“scores”:{“pronunciation”:77},“word”:“You”},{“charType”:0,“scores”:{“pronunciation”:67},“word”:“mean”},{“charType”:0,“scores”:{“pronunciation”:34},“word”:“a”},{“charType”:0,“scores”:{“pronunciation”:64},“word”:“lot”}],“resource_version”:“2.2.3”}}
select == num_ev= 1, timeout=5
select == num_ev= 1, timeout=5
2019-12-20 10:43:57.494850+0800 KouyuDemo[268:8644] skegn_callback:598502637.494826
2019-12-20 10:43:57.495418+0800 KouyuDemo[268:8644] callback result:{“tokenId”:“5dfc356b8455d8010c000001”,“params”:{“soundIntensityEnable”:1,“app”:{“timestamp”:“1576809835”,“userId”:“user-id”,“applicationId”:“17KouyuTestAppKey”,“sig”:“37b72144865be2d2ef6d3e73ee1a592073afd0be”},“request”:{“realtime_feedback”:1,“phoneme_output”:1,“tokenId”:“5dfc356b8455d8010c000001”,“mode”:“school”,“coreType”:“sent.eval”,“dict_type”:“KK”,“refText”:“You mean a lot to me.”,“qType”:0},“coreProvideType”:“cloud”,“audio”:{“sampleRate”:16000,“sampleBytes”:2,“audioType”:“opus”,“max_ogg_delay”:9600,“channel”:1}},“applicationId”:“17KouyuTestAppKey”,“refText”:“You mean a lot to me.”,“dtLastResponse”:“2019-12-20 10:43:57:383”,“result”:{“overall”:76,“resource_version”:“2.2.3”,“rear_tone”:“fall”,“words”:[{“charType”:0,“scores”:{“prominence”:0,“overall”:77,“pronunciation”:77},“phonemes”:[{“span”:{“end”:12,“start”:0},“phoneme”:“j”,“pronunciation”:64},{“span”:{“end”:17,“start”:12},“phoneme”:“u”,“pronunciation”:97}],“span”:{“end”:17,“start”:0},“word”:“You”,“phonics”:[{“spell”:“You”,“phoneme”:[“j”,“u”],“overall”:81}]},{“charType”:0,“scores”:{“prominence”:0,“overall”:68,“pronunciation”:68},“phonemes”:[{“span”:{“end”:27,“start”:17},“phoneme”:“m”,“pronunciation”:100},{“span”:{“end”:34,“start”:27},“phoneme”:“i”,“pronunciation”:69},{“span”:{“end”:39,“start”:34},“phoneme”:“n”,“pronunciation”:2}],“span”:{“end”:39,“start”:17},“word”:“mean”,“phonics”:[{“spell”:“m”,“phoneme”:[“m”],“overall”:100},{“spell”:“ea”,“phoneme”:[“i”],“overall”:69},{“spell”:“n”,“phoneme”:[“n”],“overall”:2}]},{“charType”:0,“scores”:{“prominence”:0,“overall”:39,“pronunciation”:39},“phonemes”:[{“span”:{“end”:44,“start”:39},“phoneme”:“ə”,“pronunciation”:21}],“span”:{“end”:44,“start”:39},“word”:“a”,“phonics”:[{“spell”:“a”,“phoneme”:[“ə”],“overall”:21}]},{“charType”:0,“scores”:{“prominence”:0,“overall”:65,“pronunciation”:65},“phonemes”:[{“span”:{“end”:55,“start”:44},“phoneme”:“l”,“pronunciation”:77},{“span”:{“end”:64,“start”:55},“phoneme”:“ɔ”,“pronunciation”:46},{“span”:{“end”:78,“start”:64},“phoneme”:“t”,“pronunciation”:61}],“span”:{“end”:78,“start”:44},“word”:“lot”,“phonics”:[{“spell”:“lot”,“phoneme”:[“l”,“ɔ”,“t”],“overall”:61}]},{“charType”:0,“scores”:{“prominence”:0,“overall”:88,“pronunciation”:88},“phonemes”:[{“span”:{“end”:88,“start”:81},“phoneme”:“t”,“pronunciation”:65},{“span”:{“end”:96,“start”:88},“phoneme”:“ə”,“pronunciation”:100}],“span”:{“end”:96,“start”:81},“word”:“to”,“phonics”:[{“spell”:“t”,“phoneme”:[“t”],“overall”:65},{“spell”:“o”,“phoneme”:[“ə”],“overall”:100}]},{“charType”:0,“scores”:{“prominence”:0,“overall”:88,“pronunciation”:88},“phonemes”:[{“span”:{“end”:109,“start”:96},“phoneme”:“m”,“pronunciation”:100},{“span”:{“end”:120,“start”:109},“phoneme”:“i”,“pronunciation”:69}],“span”:{“end”:120,“start”:96},“word”:“me.”,“phonics”:[{“spell”:“me.”,“phoneme”:[“m”,“i”],“overall”:85}]}],“fluency”:98,“kernel_version”:“4.2.3”,“integrity”:100,“rhythm”:94,“duration”:“1.429”,“pronunciation”:71,“speed”:300},“recordId”:“5dfc356b098f6b1f5e0056a9”,“eof”:1}
2019-12-20 10:43:57.497226+0800 KouyuDemo[268:8644] result - {“tokenId”:“5dfc356b8455d8010c000001”,“params”:{“soundIntensityEnable”:1,“app”:{“timestamp”:“1576809835”,“userId”:“user-id”,“applicationId”:“17KouyuTestAppKey”,“sig”:“37b72144865be2d2ef6d3e73ee1a592073afd0be”},“request”:{“realtime_feedback”:1,“phoneme_output”:1,“tokenId”:“5dfc356b8455d8010c000001”,“mode”:“school”,“coreType”:“sent.eval”,“dict_type”:“KK”,“refText”:“You mean a lot to me.”,“qType”:0},“coreProvideType”:“cloud”,“audio”:{“sampleRate”:16000,“sampleBytes”:2,“audioType”:“opus”,“max_ogg_delay”:9600,“channel”:1}},“applicationId”:“17KouyuTestAppKey”,“refText”:“You mean a lot to me.”,“dtLastResponse”:“2019-12-20 10:43:57:383”,“result”:{“overall”:76,“resource_version”:“2.2.3”,“rear_tone”:“fall”,“words”:[{“charType”:0,“scores”:{“prominence”:0,“overall”:77,“pronunciation”:77},“phonemes”:[{“span”:{“end”:12,“start”:0},“phoneme”:“j”,“pronunciation”:64},{“span”:{“end”:17,“start”:12},“phoneme”:“u”,“pronunciation”:97}],“span”:{“end”:17,“start”:0},“word”:“You”,“phonics”:[{“spell”:“You”,“phoneme”:[“j”,“u”],“overall”:81}]},{“charType”:0,“scores”:{“prominence”:0,“overall”:68,“pronunciation”:68},“phonemes”:[{“span”:{“end”:27,“start”:17},“phoneme”:“m”,“pronunciation”:100},{“span”:{“end”:34,“start”:27},“phoneme”:“i”,“pronunciation”:69},{“span”:{“end”:39,“start”:34},“phoneme”:“n”,“pronunciation”:2}],“span”:{“end”:39,“start”:17},“word”:“mean”,“phonics”:[{“spell”:“m”,“phoneme”:[“m”],“overall”:100},{“spell”:“ea”,“phoneme”:[“i”],“overall”:69},{“spell”:“n”,“phoneme”:[“n”],“overall”:2}]},{“charType”:0,“scores”:{“prominence”:0,“overall”:39,“pronunciation”:39},“phonemes”:[{“span”:{“end”:44,“start”:39},“phoneme”:“ə”,“pronunciation”:21}],“span”:{“end”:44,“start”:39},“word”:“a”,“phonics”:[{“spell”:“a”,“phoneme”:[“ə”],“overall”:21}]},{“charType”:0,“scores”:{“prominence”:0,“overall”:65,“pronunciation”:65},“phonemes”:[{“span”:{“end”:55,“start”:44},“phoneme”:“l”,“pronunciation”:77},{“span”:{“end”:64,“start”:55},“phoneme”:“ɔ”,“pronunciation”:46},{“span”:{“end”:78,“start”:64},“phoneme”:“t”,“pronunciation”:61}],“span”:{“end”:78,“start”:44},“word”:“lot”,“phonics”:[{“spell”:“lot”,“phoneme”:[“l”,“ɔ”,“t”],“overall”:61}]},{“charType”:0,“scores”:{“prominence”:0,“overall”:88,“pronunciation”:88},“phonemes”:[{“span”:{“end”:88,“start”:81},“phoneme”:“t”,“pronunciation”:65},{“span”:{“end”:96,“start”:88},“phoneme”:“ə”,“pronunciation”:100}],“span”:{“end”:96,“start”:81},“word”:“to”,“phonics”:[{“spell”:“t”,“phoneme”:[“t”],“overall”:65},{“spell”:“o”,“phoneme”:[“ə”],“overall”:100}]},{“charType”:0,“scores”:{“prominence”:0,“overall”:88,“pronunciation”:88},“phonemes”:[{“span”:{“end”:109,“start”:96},“phoneme”:“m”,“pronunciation”:100},{“span”:{“end”:120,“start”:109},“phoneme”:“i”,“pronunciation”:69}],“span”:{“end”:120,“start”:96},“word”:“me.”,“phonics”:[{“spell”:“me.”,“phoneme”:[“m”,“i”],“overall”:85}]}],“fluency”:98,“kernel_version”:“4.2.3”,“integrity”:100,“rhythm”:94,“duration”:“1.429”,“pronunciation”:71,“speed”:300},“recordId”:“5dfc356b098f6b1f5e0056a9”,“eof”:1}
select == num_ev= 0, timeout=5
…--------------------------------------------------------------------------------------Program normal position
select == num_ev= 0, timeout=5
select == num_ev= 0, timeout=5
select == num_ev= 6, timeout=5
send_buf========\200\300\235\203===nc->send_buf.len======2
send_buf========\200\300\235\203===nc->send_buf.len======6
send_buf========\200\300\235\203===nc->send_buf.len======6------------------------------------Off screen
…
select == num_ev= 7, timeout=5-----------------------------------------------------------------------------Open screen
send_buf======== e-\200===nc->send_buf.len======146
send_buf======== e-\200===nc->send_buf.len======174
send_buf======== e-\200===nc->send_buf.len======207
send_buf======== e-\200===nc->send_buf.len======209
send_buf========\200
-\200===nc->send_buf.len======146
send_buf========\200
-\200===nc->send_buf.len======173
send_buf========\200
-\200===nc->send_buf.len======206
send_buf========\200
-\200===nc->send_buf.len======208
send_buf========@-\200===nc->send_buf.len======146
send_buf========@-\200===nc->send_buf.len======171
send_buf========@-\200===nc->send_buf.len======204
send_buf========@-\200===nc->send_buf.len======206
send_buf========-\200===nc->send_buf.len======146 send_buf========
-\200===nc->send_buf.len======174
send_buf========-\200===nc->send_buf.len======207 send_buf========
-\200===nc->send_buf.len======209
send_buf========\200-\200===nc->send_buf.len======146
send_buf========\200-\200===nc->send_buf.len======173
send_buf========\200-\200===nc->send_buf.len======206
send_buf========\200-\200===nc->send_buf.len======208
send_buf========@Z-\200===nc->send_buf.len======146
send_buf========@Z-\200===nc->send_buf.len======173
send_buf========@Z-\200===nc->send_buf.len======206
send_buf========@Z-\200===nc->send_buf.len======208
send_buf========^u===nc->send_buf.len======248 send_buf======== pv===nc->send_buf.len======248 select == num_ev= 4, timeout=9 send_buf========\200S\345\202===nc->send_buf.len======33 send_buf========\340eq===nc->send_buf.len======248 send_buf========\240\336q===nc->send_buf.len======248 select == num_ev= 2, timeout=11 send_buf========\260\233\204===nc->send_buf.len======248 select == num_ev= 1, timeout=12 select == num_ev= 2, timeout=12 select == num_ev= 1, timeout=12 select == num_ev= 1, timeout=12 select == num_ev= 4, timeout=12 send_buf========
^u===nc->send_buf.len======248
send_buf========\260!s===nc->send_buf.len======248
select == num_ev= 1, timeout=14
select == num_ev= 1, timeout=14
select == num_ev= 4, timeout=14
select == num_ev= 1, timeout=14
select == num_ev= 1, timeout=14
select == num_ev= 1, timeout=14
select == num_ev= 1, timeout=14
select == num_ev= 1, timeout=14
select == num_ev= 1, timeout=14
select == num_ev= 2, timeout=14
select == num_ev= 1, timeout=14
select == num_ev= 1, timeout=14
select == num_ev= 1, timeout=14
select == num_ev= 1, timeout=14
select == num_ev= 1, timeout=14
select == num_ev= 1, timeout=14
select == num_ev= 6, timeout=14
select == num_ev= 1, timeout=14
select == num_ev= 1, timeout=14
select == num_ev= 9, timeout=14
send_buf========pڝ\203===nc->send_buf.len======2
send_buf========pڝ\203===nc->send_buf.len======6
send_buf========pڝ\203===nc->send_buf.len======6
send_buf========\200h\235\203===nc->send_buf.len======2
send_buf========\200h\235\203===nc->send_buf.len======6
send_buf========\200h\235\203===nc->send_buf.len======6
send_buf========\260O\235\203===nc->send_buf.len======2
send_buf========\260O\235\203===nc->send_buf.len======6
send_buf========\260O\235\203===nc->send_buf.len======6
send_buf========\200\300\235\203===nc->send_buf.len======2
send_buf========\200\300\235\203===nc->send_buf.len======6
send_buf========\200\300\235\203===nc->send_buf.len======6
send_buf========^u===nc->send_buf.len======248 select == num_ev= 5, timeout=16 select == num_ev= 1, timeout=15 ..... select == num_ev= 2, timeout=11 select == num_ev= 2, timeout=11 send_buf========
^u===nc->send_buf.len======248
select == num_ev= 1, timeout=12
select == num_ev= 1, timeout=12
select == num_ev= 1, timeout=12
select == num_ev= 1, timeout=12
select == num_ev= 2, timeout=12
select == num_ev= 1, timeout=12
…
select == num_ev= 1, timeout=12
select == num_ev= 2, timeout=12
send_buf========\200G\235\203===nc->send_buf.len======2
send_buf========\200G\235\203===nc->send_buf.len======6
send_buf========\200G\235\203===nc->send_buf.len======6
select == num_ev= 2, timeout=12
select == num_ev= 1, timeout=11
… `] - My expectation & question is: [Why is the return value of select greater than 0, and how to solve it?]