Re: [PATCH 5/5] Generate a x_server_routine in the sheader so it can be inlined

2014-01-19 Thread Samuel Thibault
Justus Winter, le Mon 02 Dec 2013 10:58:19 +0100, a écrit : > * header.c (WriteServerHeader): Emit a x_server_routine that can be > inlined. > * server.c (WriteEpilog): Export the x_routines array so it can be > used from the inlined x_server_routine. Ack. > --- > header.c |8 >

Re: [PATCH 5/5] Generate a x_server_routine in the sheader so it can be inlined

2014-01-16 Thread Justus Winter
Quoting Justus Winter (2013-12-02 17:25:23) > Quoting Samuel Thibault (2013-12-02 13:09:44) > > Well, it means that whenever a protocol gets augmented, one has to > > recompile all demuxer functions calling these inlines. In the example > > of trivfs_demuxer, the application itself does not need a

Re: [PATCH 5/5] Generate a x_server_routine in the sheader so it can be inlined

2013-12-02 Thread Justus Winter
Quoting Samuel Thibault (2013-12-02 13:09:44) > Well, it means that whenever a protocol gets augmented, one has to > recompile all demuxer functions calling these inlines. In the example > of trivfs_demuxer, the application itself does not need a rebuild, only > libtrivfs needs, but in other cases

Re: [PATCH 5/5] Generate a x_server_routine in the sheader so it can be inlined

2013-12-02 Thread Samuel Thibault
Well, it means that whenever a protocol gets augmented, one has to recompile all demuxer functions calling these inlines. In the example of trivfs_demuxer, the application itself does not need a rebuild, only libtrivfs needs, but in other cases that will not be true. This is a quite subtle issue w

[PATCH 5/5] Generate a x_server_routine in the sheader so it can be inlined

2013-12-02 Thread Justus Winter
* header.c (WriteServerHeader): Emit a x_server_routine that can be inlined. * server.c (WriteEpilog): Export the x_routines array so it can be used from the inlined x_server_routine. --- header.c |8 server.c |2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git