[so] [SO][Tema3][Linux][SIGWINCH]
Placinta Alexandru
placintaalexandru1 at gmail.com
Sat Apr 21 10:42:25 EEST 2018
Si partea cu apelul de sistem futex?
Mai mult aia ma nedumereste.
On Sat, Apr 21, 2018, 10:32 Darius Mihai <dariusmihaim at gmail.com> wrote:
> Salut,
>
> WINCH este un semnal primit la redimensionarea
> unei ferestre (terminal). Un trap pentru el este folosit
> de programe sau script-uri pentru a redesena conținutul.
>
> Redimensionarea terminalului ar trebui să îl trimită.
>
> Darius
>
> On Sat, Apr 21, 2018, 10:25 Alexandru via so <so at cursuri.cs.pub.ro> wrote:
>
>> Buna ziua,
>>
>>
>>
>> Aveti vreo idee de ce as putea primi semnalul SIGWINCH?
>>
>> Ruland cu strace am observant urmatoarele evenimente:
>>
>>
>>
>> mmap2(0x809a000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3,
>> 0x52000) = 0x809a000
>>
>> futex(0x80ebec0, FUTEX_WAIT_PRIVATE, 2, NULL) = ? ERESTARTSYS (To be
>> restarted if SA_RESTART is set)
>>
>> --- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} ---
>>
>> futex(0x80ebec0, FUTEX_WAIT_PRIVATE, 2, NULL) = ? ERESTARTSYS (To be
>> restarted if SA_RESTART is set)
>>
>>
>>
>> Multumesc!
>>
>>
>>
>> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
>> Windows 10
>>
>>
>> _______________________________________________
>> http://ocw.cs.pub.ro/courses/so/info/lista-discutii
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20180421/02fadab8/attachment.html>
More information about the so
mailing list